Skip to content

Commit b539ff0

Browse files
committed
code snippet added
1 parent 8bef3fb commit b539ff0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ build-js-dir=${build-dir}/js
55
theme=blue-icon
66
#theme=maroon-grid
77

8-
all: help-dir
8+
all:patch-analytics help-dir
9+
10+
patch-analytics:
11+
git clone https://github.com/virtual-labs/vlabs-analytics.git
12+
cp vlabs-analytics/gtm-patcher.py ../scripts/.
13+
cp vlabs-analytics/patch-analytics.sh ../scripts/.
14+
chmod +x ../scripts/patch-analytics.sh
15+
../scripts/patch-analytics.sh
16+
rm -rf vlabs-analytics
17+
rm -rf ../scripts/patch-analytics.sh
18+
rm -rf ../scripts/gtm-patcher.py
919

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

0 commit comments

Comments
 (0)