-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
43 lines (29 loc) · 909 Bytes
/
Makefile
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
.PHONY: default all remove-package-json clean npm-install stylusbuild stylusbuild-once cljsbuild uberjar
.PHONY: clj-test clj-test-once cljs-test cljs-test-once ci auto-dev
default: uberjar
all: uberjar
remove-package-json:
-rm -f package.json
clean:
lein clean
npm-install: remove-package-json
lein npm install
stylusbuild: clean npm-install
lein npm run watch:stylus
stylusbuild-once: clean npm-install
lein npm run build:stylus
cljsbuild:
lein cljsbuild once
uberjar: remove-package-json
lein uberjar
clj-test: clean
lein test-refresh
clj-test-once: clean
lein test
cljs-test: clean npm-install cljsbuild
lein pdo karma start, cljsbuild auto
cljs-test-once: clean npm-install cljsbuild
lein karma start --single-run
auto-dev: clean remove-package-json npm-install cljsbuild
lein pdo karma start, test-refresh, cljsbuild auto, npm run watch:stylus
ci: clj-test-once cljs-test-once