forked from clojure-emacs/cider-nrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (28 loc) · 1.08 KB
/
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
.PHONY: clean source-deps test-clj test-cljs eastwood cljfmt cloverage
VERSION ?= 1.9
export CLOVERAGE_VERSION = 1.0.11-SNAPSHOT
.source-deps:
lein source-deps
touch .source-deps
source-deps: .source-deps
test-clj: .source-deps
lein with-profile +$(VERSION),+plugin.mranderson/config,+test-clj test
test-cljs: .source-deps
lein with-profile +$(VERSION),+plugin.mranderson/config,+test-cljs test
eastwood: .source-deps
lein with-profile +$(VERSION),+test-clj,+test-cljs,+eastwood eastwood
cljfmt: .source-deps
lein with-profile +$(VERSION),+test-clj,+test-cljs,+cljfmt cljfmt check
# Cloverage can't handle some of the code in this project. For now we
# must filter problematic namespaces (`-e`) and tests (`-t`) from
# instrumentation. Note: this means for now coverage reporting isn't
# exact. See issue #457 for details.
cloverage: .source-deps
lein with-profile +$(VERSION),+test-clj,+cloverage cloverage --codecov \
-e ".*java.parser" \
-e "cider-nrepl.plugin" \
-e ".*util.instrument" \
-t "^((?!debug-integration-test).)*$$"
clean:
lein clean
rm .source-deps