Skip to content

Commit 76b2d83

Browse files
cichlibbatsov
authored andcommitted
Add :test to development-time profiles where it's needed
1 parent 27150ea commit 76b2d83

File tree

1 file changed

+44
-39
lines changed

1 file changed

+44
-39
lines changed

project.clj

Lines changed: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -84,45 +84,50 @@
8484
:resource-paths ["test/resources"]
8585
:dependencies [[cider/piggieback "0.3.10"]]}
8686

87-
:repl {:repl-options {:nrepl-middleware [cider.nrepl/wrap-apropos
88-
cider.nrepl/wrap-classpath
89-
cider.nrepl/wrap-complete
90-
cider.nrepl/wrap-content-type
91-
cider.nrepl/wrap-debug
92-
cider.nrepl/wrap-enlighten
93-
cider.nrepl/wrap-format
94-
cider.nrepl/wrap-info
95-
cider.nrepl/wrap-inspect
96-
cider.nrepl/wrap-macroexpand
97-
cider.nrepl/wrap-ns
98-
cider.nrepl/wrap-out
99-
cider.nrepl/wrap-pprint-fn
100-
cider.nrepl/wrap-profile
101-
cider.nrepl/wrap-refresh
102-
cider.nrepl/wrap-resource
103-
cider.nrepl/wrap-slurp
104-
cider.nrepl/wrap-spec
105-
cider.nrepl/wrap-stacktrace
106-
cider.nrepl/wrap-test
107-
cider.nrepl/wrap-trace
108-
cider.nrepl/wrap-tracker
109-
cider.nrepl/wrap-undef
110-
cider.nrepl/wrap-version]}}
87+
;; Need ^:repl because of: https://github.com/technomancy/leiningen/issues/2132
88+
:repl ^:repl [:test
89+
{:repl-options {:nrepl-middleware [cider.nrepl/wrap-apropos
90+
cider.nrepl/wrap-classpath
91+
cider.nrepl/wrap-complete
92+
cider.nrepl/wrap-content-type
93+
cider.nrepl/wrap-debug
94+
cider.nrepl/wrap-enlighten
95+
cider.nrepl/wrap-format
96+
cider.nrepl/wrap-info
97+
cider.nrepl/wrap-inspect
98+
cider.nrepl/wrap-macroexpand
99+
cider.nrepl/wrap-ns
100+
cider.nrepl/wrap-out
101+
cider.nrepl/wrap-pprint-fn
102+
cider.nrepl/wrap-profile
103+
cider.nrepl/wrap-refresh
104+
cider.nrepl/wrap-resource
105+
cider.nrepl/wrap-slurp
106+
cider.nrepl/wrap-spec
107+
cider.nrepl/wrap-stacktrace
108+
cider.nrepl/wrap-test
109+
cider.nrepl/wrap-trace
110+
cider.nrepl/wrap-tracker
111+
cider.nrepl/wrap-undef
112+
cider.nrepl/wrap-version]}}]
111113

112114
:sysutils {:plugins [[lein-sysutils "0.2.0"]]}
113115

114-
:cloverage {:plugins [[lein-cloverage "1.0.13"]]}
115-
116-
:cljfmt {:plugins [[lein-cljfmt "0.6.1"]]
117-
:cljfmt {:indents {as-> [[:inner 0]]
118-
with-debug-bindings [[:inner 0]]
119-
merge-meta [[:inner 0]]
120-
try-if-let [[:block 1]]
121-
if-class [[:block 1]]}}}
122-
123-
:eastwood {:plugins [[jonase/eastwood "0.3.4"]]
124-
:eastwood {:config-files ["eastwood.clj"]
125-
;; TODO: Add :test-paths once
126-
;; https://github.com/jonase/eastwood/issues/298
127-
;; is resolved
128-
:namespaces [:source-paths]}}})
116+
:cloverage [:test
117+
{:plugins [[lein-cloverage "1.0.13"]]}]
118+
119+
:cljfmt [:test
120+
{:plugins [[lein-cljfmt "0.6.1"]]
121+
:cljfmt {:indents {as-> [[:inner 0]]
122+
with-debug-bindings [[:inner 0]]
123+
merge-meta [[:inner 0]]
124+
try-if-let [[:block 1]]
125+
if-class [[:block 1]]}}}]
126+
127+
:eastwood [:test
128+
{:plugins [[jonase/eastwood "0.3.4"]]
129+
:eastwood {:config-files ["eastwood.clj"]
130+
;; TODO: Add :test-paths once
131+
;; https://github.com/jonase/eastwood/issues/298
132+
;; is resolved
133+
:namespaces [:source-paths]}}]})

0 commit comments

Comments
 (0)