-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
create-templates.sh
executable file
·52 lines (45 loc) · 1.46 KB
/
create-templates.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
rm -r temp
mkdir temp
cd temp
printf "\ncreating base\n"
lein new re-frame base
cd base
npm install
npm run release
cd resources/public
google-chrome --headless --disable-gpu index.html || chromium --headless --disable-gpu index.html
cd ../../..
printf "\ncreating base +routes\n"
lein new re-frame base-routes +routes
cd base-routes
npm install
npm run release
cd resources/public
google-chrome --headless --disable-gpu index.html || chromium --headless --disable-gpu index.html
cd ../../..
printf "\ncreating base +re-com\n"
lein new re-frame base-recom +re-com
cd base-recom
npm install
npm run release
cd resources/public
google-chrome --headless --disable-gpu index.html || chromium --headless --disable-gpu index.html
cd ../../..
printf "\ncreating base +routes +re-com\n"
lein new re-frame base-routes-recom +routes +re-com
cd base-routes-recom
npm install
npm run release
cd resources/public
google-chrome --headless --disable-gpu index.html || chromium --headless --disable-gpu index.html
cd ../../..
printf "\ncreating base +10x +breaking-point +cider +garden +handler +kondo +re-com +re-frisk +re-pressed +routes +test +github-actions\n"
lein new re-frame everything +10x +breaking-point +cider +garden +git-inject +kondo +re-com +re-frisk +re-pressed +routes +test +github-actions
cd everything
npm install
npm run release
npm run ci
cd resources/public
google-chrome --headless --disable-gpu index.html || chromium --headless --disable-gpu index.html
cd ../../..