Skip to content

Commit 7cc69f9

Browse files
committed
code snippet added
1 parent 591c7f3 commit 7cc69f9

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
@@ -1,9 +1,19 @@
11
build-dir=../build
22
theme=green-icon
33

4-
all: ${theme}
4+
all: patch-analytics ${theme}
55

66
green-icon:
77
mkdir ${build-dir};rsync -avC --progress lab/* themes/${theme}/* ${build-dir}
88
clean:
99
rm -rf ${build-dir}
10+
11+
patch-analytics:
12+
git clone https://github.com/virtual-labs/vlabs-analytics.git
13+
cp vlabs-analytics/gtm-patcher.py ../scripts/.
14+
cp vlabs-analytics/patch-analytics.sh ../scripts/.
15+
chmod +x ../scripts/patch-analytics.sh
16+
../scripts/patch-analytics.sh
17+
rm -rf vlabs-analytics
18+
rm -rf ../scripts/patch-analytics.sh
19+
rm -rf ../scripts/gtm-patcher.py

0 commit comments

Comments
 (0)