Skip to content

Commit

Permalink
code snippet added
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanchow committed Dec 19, 2019
1 parent 91b36bf commit e4fa68b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
build-dir=../build
theme=green-icon

all: ${theme}
all: patch-analytics ${theme}

green-icon:
mkdir ${build-dir};rsync -avC --progress lab/* themes/${theme}/* ${build-dir}
clean:
rm -rf ${build-dir}

patch-analytics:
git clone https://github.com/virtual-labs/vlabs-analytics.git
cp vlabs-analytics/gtm-patcher.py ../scripts/.
cp vlabs-analytics/patch-analytics.sh ../scripts/.
chmod +x ../scripts/patch-analytics.sh
../scripts/patch-analytics.sh
rm -rf vlabs-analytics
rm -rf ../scripts/patch-analytics.sh
rm -rf ../scripts/gtm-patcher.py

0 comments on commit e4fa68b

Please sign in to comment.