Skip to content

Commit e0e5a64

Browse files
committed
code snippet added
1 parent 2192fad commit e0e5a64

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

4-
all: ${theme}
4+
all:patch-analytics ${theme}
5+
6+
patch-analytics:
7+
git clone https://github.com/virtual-labs/vlabs-analytics.git
8+
cp vlabs-analytics/gtm-patcher.py ../scripts/.
9+
cp vlabs-analytics/patch-analytics.sh ../scripts/.
10+
chmod +x ../scripts/patch-analytics.sh
11+
../scripts/patch-analytics.sh
12+
rm -rf vlabs-analytics
13+
rm -rf ../scripts/patch-analytics.sh
14+
rm -rf ../scripts/gtm-patcher.py
515

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

0 commit comments

Comments
 (0)