Skip to content

Commit

Permalink
Merge pull request #560 from virtual-labs/gtm-analytics
Browse files Browse the repository at this point in the history
Analytics Code snippet added
  • Loading branch information
pavanchow authored Jan 7, 2020
2 parents 8bef3fb + b539ff0 commit dccfc8b
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
Expand Up @@ -5,7 +5,17 @@ build-js-dir=${build-dir}/js
theme=blue-icon
#theme=maroon-grid

all: help-dir
all:patch-analytics help-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

help-dir:
(touch ${build-dir}/theme-${theme}; rsync -avC --exclude ${mathjax}.zip lab/* lib/* help themes/${theme}/* ${build-dir})
Expand Down

0 comments on commit dccfc8b

Please sign in to comment.