-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (28 loc) · 957 Bytes
/
Makefile
File metadata and controls
39 lines (28 loc) · 957 Bytes
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
LEIN_RUN = rlwrap lein run -m clojure.main ./script/figwheel.clj
# Run the dev and test cljs builds in figwheel
dev:
lein do clean, -U deps ; JVM_OPTS="-server -Ddev -Dtest" ${LEIN_RUN}
# Run the test cljs builds in figwheel
test:
JVM_OPTS="-server -Dtest" ${LEIN_RUN}
# Run the cards cljs builds in figwheel
cards:
JVM_OPTS="-server -Dcards" ${LEIN_RUN}
# Run a REPL capable of running the web server
server:
rlwrap lein run -m clojure.main
server-tests:
lein test-refresh :run-once
# Run the command-line (karma-based) automated cljs tests
ci-cljs-tests:
npm install
lein do clean, doo chrome automated-tests once
# Run all tests (once) from the command line. Useful for CI
ci-tests: ci-cljs-tests server-tests
clean:
lein clean
rename:
bin/rename-project.sh
help:
@ make -rpn | sed -n -e '/^$$/ { n ; /^[^ ]*:/p; }' | sort | egrep --color '^[^ ]*:'
.PHONY: dev test cards server server-tests ci-cljs-tests ci-tests clean rename help