@@ -8,35 +8,38 @@ resources/clojuredocs/export.edn:
8
8
curl -o $@ https ://github.com/clojure-emacs/clojuredocs-export-edn/raw/master/exports/export.compact.edn
9
9
10
10
test :
11
- lein with-profile +$(VERSION ) ,$(TEST_PROFILES ) test
11
+ lein with-profile -user,-dev, +$(VERSION ) ,$(TEST_PROFILES ) test
12
12
13
13
test-watch : test-resources/clojuredocs/export.edn
14
14
lein with-profile +$(VERSION ) ,$(TEST_PROFILES ) test-refresh
15
15
16
16
eastwood :
17
- lein with-profile +$(VERSION ) ,+eastwood,$(TEST_PROFILES ) eastwood
17
+ lein with-profile -user,-dev, +$(VERSION ) ,+eastwood,$(TEST_PROFILES ) eastwood
18
18
19
19
cljfmt :
20
- lein with-profile +$(VERSION ) ,+cljfmt cljfmt check
20
+ lein with-profile -user,-dev, +$(VERSION ) ,+cljfmt cljfmt check
21
21
22
22
kondo :
23
- lein with-profile -dev,+clj-kondo run -m clj-kondo.main --lint src test src-jdk8 src-newer-jdks
23
+ lein with-profile -user,- dev,+clj-kondo run -m clj-kondo.main --lint src test src-jdk8 src-newer-jdks
24
24
25
25
# When releasing, the BUMP variable controls which field in the
26
26
# version string will be incremented in the *next* snapshot
27
27
# version. Typically this is either "major", "minor", or "patch".
28
28
29
29
BUMP ?= patch
30
30
31
- release :
32
- lein with-profile +$(VERSION ) release $(BUMP )
31
+ release : clean
32
+ lein with-profile -user,-dev, +$(VERSION ) release $(BUMP )
33
33
34
34
# Deploying requires the caller to set environment variables as
35
35
# specified in project.clj to provide a login and password to the
36
36
# artifact repository.
37
37
38
- deploy :
39
- lein with-profile +$(VERSION ) deploy clojars
38
+ deploy : clean
39
+ lein with-profile -user,-dev,+$(VERSION ) deploy clojars
40
+
41
+ install : clean
42
+ lein with-profile -user,-dev,+$(VERSION ) install
40
43
41
44
clean :
42
- lein clean
45
+ lein with-profile -user,-dev clean
0 commit comments