Skip to content

Commit 50ef3de

Browse files
vemvbbatsov
authored andcommitted
Makefile: also use -user profile
This increases reproducibility while developing the project.
1 parent 3a592e5 commit 50ef3de

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
VERSION ?= 1.10
44

55
.inline-deps:
6-
lein inline-deps
6+
lein with-profile -user inline-deps
77
touch .inline-deps
88

99
inline-deps: .inline-deps
1010

1111
test: .inline-deps
12-
lein with-profile +$(VERSION),+plugin.mranderson/config test
12+
lein with-profile -user,+$(VERSION),+plugin.mranderson/config test
1313

1414
cljfmt:
15-
lein with-profile +$(VERSION),+cljfmt,+lein-plugin cljfmt check
15+
lein with-profile -user,+$(VERSION),+cljfmt,+lein-plugin cljfmt check
1616

1717
eastwood:
18-
lein with-profile +$(VERSION),+eastwood eastwood
18+
lein with-profile -user,+$(VERSION),+eastwood eastwood
1919

2020
kondo:
2121
lein with-profile -dev,+$(VERSION),+clj-kondo run -m clj-kondo.main --lint src
@@ -27,14 +27,14 @@ kondo:
2727
BUMP ?= patch
2828

2929
release:
30-
lein with-profile +$(VERSION),+lein-plugin release $(BUMP)
30+
lein with-profile -user,+$(VERSION),+lein-plugin release $(BUMP)
3131

3232
# Deploying requires the caller to set environment variables as
3333
# specified in project.clj to provide a login and password to the
3434
# artifact repository.
3535

3636
deploy: .inline-deps
37-
lein with-profile +$(VERSION),+plugin.mranderson/config,+lein-plugin deploy clojars
37+
lein with-profile -user,+$(VERSION),+plugin.mranderson/config,+lein-plugin deploy clojars
3838

3939
clean:
4040
lein clean

0 commit comments

Comments
 (0)