-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
54 lines (42 loc) · 1.02 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
PWD=$(shell pwd)
.clj-kondo/com.github.liquidz/testdoc/config.edn: resources/clj-kondo.exports/com.github.liquidz/testdoc/config.edn
@rm -rf .clj-kondo/.cache
@clj-kondo --copy-configs --dependencies --lint "$(shell clojure -A:dev -Spath)"
.PHONY: update-clj-kondo-config
update-clj-kondo-config: .clj-kondo/com.github.liquidz/testdoc/config.edn
.PHONY: lint
lint: update-clj-kondo-config
clj-kondo --lint src:test
cljstyle check
.PHONY: repl
repl:
iced repl -A:dev
.PHONY: test-bb
test-bb:
docker run --rm -v $(PWD):/tmp -w /tmp uochan/babashka-test 'src' 'test' '_test.clj$$'
.PHONY: test
test:
clojure -M:dev:test
clojure -M:dev:1.9:test
clojure -M:dev:1.10:test
clojure -M:dev:master:test
.PHONY: test-all
test-all: test test-bb
.PHONY: outdated
outdated:
clojure -M:outdated --upgrade
.PHONY: pom
pom:
clojure -T:build pom
.PHONY: jar
jar:
clojure -T:build jar
.PHONY: install
install: clean
clojure -T:build install
.PHONY: deploy
deploy: clean
clojure -T:build deploy
.PHONY: clean
clean:
\rm -rf .cpcache target