This repository has been archived by the owner on Dec 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
create-templates.sh
executable file
·96 lines (86 loc) · 1.94 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/bash
rm -r temp
mkdir temp
cd temp
# base
printf "\ncreating base\n"
lein new reagent-figwheel base
cd base
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# cider
printf "\ncreating base +cider\n"
lein new reagent-figwheel base-cider +cider
cd base-cider
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# devcards
printf "\ncreating base +devcards\n"
lein new reagent-figwheel base-devcards +devcards
cd base-devcards
lein cljsbuild once min
lein cljsbuild once hostedcards
cd resources/public
google-chrome index.html
google-chrome cards.html
cd ../../..
# devtools
printf "\ncreating base +devtools\n"
lein new reagent-figwheel base-devtools +devtools
cd base-devtools
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# routes
printf "\ncreating base +routes\n"
lein new reagent-figwheel base-routes +routes
cd base-routes
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# test
printf "\ncreating base +test\n"
lein new reagent-figwheel base-test +test
cd base-test
lein cljsbuild once min
lein doo phantom test once
cd resources/public
google-chrome index.html
cd ../../..
# garden
printf "\ncreating base +garden\n"
lein new reagent-figwheel base-garden +garden
cd base-garden
lein garden once
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# less
printf "\ncreating base +less\n"
lein new reagent-figwheel base-less +less
cd base-less
lein less once
lein cljsbuild once min
cd resources/public
google-chrome index.html
cd ../../..
# Everything sans framework
printf "\neverything\n"
lein new reagent-figwheel everything +cider +routes +test +garden +less +devcards +devtools +re-frisk
cd everything
lein garden once
lein less once
lein cljsbuild once min
lein cljsbuild once hostedcards
lein doo phantom test once
cd resources/public
google-chrome index.html
google-chrome cards.html
cd ../../..