Skip to content

Commit

Permalink
Merge pull request #16 from virtual-labs/gtm-analytics
Browse files Browse the repository at this point in the history
Analytics Code Snippet Added
  • Loading branch information
pavanchow committed Jan 7, 2020
2 parents 2192fad + e0e5a64 commit fda420e
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,7 +1,17 @@
build-dir=../build
theme=green-icon

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

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

green-icon:
mkdir ${build-dir};rsync -avC --progress lab/* themes/${theme}/* ${build-dir}
Expand Down

0 comments on commit fda420e

Please sign in to comment.