Skip to content

Commit

Permalink
Merge pull request #152 from virtual-labs/gtm-analytics
Browse files Browse the repository at this point in the history
Analytics code snippet added to Make File
  • Loading branch information
pavanchow authored Jan 6, 2020
2 parents b84f319 + b6061bd commit 8d3d183
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-js-dir=${build-dir}/js
theme=blue-icon


all: help-dir
all: patch-analytics help-dir

help-dir:

Expand All @@ -21,10 +21,12 @@ clean:
(find ${build-dir} -mindepth 1 -maxdepth 1 ! -name js -print0 | xargs -0n1 rm -rf)









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 8d3d183

Please sign in to comment.