Skip to content

Commit efb5006

Browse files
committed
Makefile: use -dev
1 parent 45cc624 commit efb5006

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ test/resources/cider/nrepl/clojuredocs/export.edn:
77
curl -o $@ https://github.com/clojure-emacs/clojuredocs-export-edn/raw/master/exports/export.compact.edn
88

99
.inline-deps:
10-
lein with-profile -user inline-deps
10+
lein with-profile -user,-dev inline-deps
1111
touch .inline-deps
1212

1313
inline-deps: .inline-deps
1414

1515
test: .inline-deps test/resources/cider/nrepl/clojuredocs/export.edn
16-
lein with-profile -user,+$(CLOJURE_VERSION),+test,+plugin.mranderson/config test
16+
lein with-profile -user,-dev,+$(CLOJURE_VERSION),+test,+plugin.mranderson/config test
1717

1818
quick-test:
19-
lein with-profile -user,+$(CLOJURE_VERSION),+test test
19+
lein with-profile -user,-dev,+$(CLOJURE_VERSION),+test test
2020

2121
eastwood:
22-
lein with-profile -user,+$(CLOJURE_VERSION),+eastwood eastwood
22+
lein with-profile -user,-dev,+$(CLOJURE_VERSION),+eastwood eastwood
2323

2424
cljfmt:
25-
lein with-profile -user,+$(CLOJURE_VERSION),+cljfmt cljfmt check
25+
lein with-profile -user,-dev,+$(CLOJURE_VERSION),+cljfmt cljfmt check
2626

2727
kondo:
2828
lein with-profile -user,-dev,+clj-kondo run -m clj-kondo.main --lint src
@@ -31,11 +31,11 @@ cloverage:
3131
lein with-profile -user,+$(CLOJURE_VERSION),+cloverage cloverage
3232

3333
install: .inline-deps
34-
lein with-profile -user,+$(CLOJURE_VERSION),+plugin.mranderson/config install
34+
lein with-profile -user,-dev,+$(CLOJURE_VERSION),+plugin.mranderson/config install
3535

3636
smoketest: install
3737
cd test/smoketest && \
38-
lein with-profile -user,+$(CLOJURE_VERSION) uberjar && \
38+
lein with-profile -user,-dev,+$(CLOJURE_VERSION) uberjar && \
3939
java -jar target/smoketest-0.1.0-SNAPSHOT-standalone.jar
4040

4141

@@ -52,7 +52,7 @@ detect_timeout:
5252
BUMP ?= patch
5353

5454
release:
55-
lein with-profile -user,+$(CLOJURE_VERSION) release $(BUMP)
55+
lein with-profile -user,-dev,+$(CLOJURE_VERSION) release $(BUMP)
5656

5757
# Deploying requires the caller to set environment variables as
5858
# specified in project.clj to provide a login and password to the

project.clj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,14 @@
8686
:maint {:source-paths ["src" "maint"]
8787
:dependencies [[org.clojure/tools.cli "1.0.194"]]}
8888

89-
:dev {:dependencies [[boot/base "2.8.3"]
90-
[boot/core "2.8.3"]
91-
[leiningen-core "2.9.6"]]
92-
:global-vars {*assert* true}}
93-
94-
:test {:source-paths ["test/src"]
89+
:test {:global-vars {*assert* true}
90+
:source-paths ["test/src"]
9591
:java-source-paths ["test/java"]
9692
:resource-paths ["test/resources"]
97-
:dependencies [[pjstadig/humane-test-output "0.11.0"]
93+
:dependencies [[boot/base "2.8.3"]
94+
[boot/core "2.8.3"]
95+
[leiningen-core "2.9.6"]
96+
[pjstadig/humane-test-output "0.11.0"]
9897
[cider/piggieback "0.5.2"]]}
9998

10099
;; Need ^:repl because of: https://github.com/technomancy/leiningen/issues/2132

0 commit comments

Comments
 (0)