File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 40
40
Passing options to test-runner possible, see examples." [opts]
41
41
#_ (prn :opts opts)
42
42
(let [test-options (extract-keys-with-ns " test" opts)
43
- opts (-> test-options
43
+ test-options (-> test-options
44
44
(update-keys (fn [k]
45
45
; ; :H => "-H", :help => "--help"
46
46
(let [k (name k)]
53
53
:main 'clojure.main
54
54
#_#_:cp [" /opt/homebrew/Cellar/clojure/1.11.1.1413/libexec/exec.jar" ]
55
55
#_#_:main-args [" -m" " clojure.run.exec" " :dirs" " src" ]
56
- :main-args (doto (reduce into [" -m" " cognitect.test-runner" ] opts ) prn)}))
56
+ :main-args (doto (reduce into [" -m" " cognitect.test-runner" ] test-options ) prn)}))
57
57
{:keys [exit]} (b/process cmds)]
58
58
(when-not (zero? exit) (throw (ex-info " Tests failed" {}))))
59
59
opts )
108
108
#_:end)
109
109
110
110
(defn
111
- ^#:fika{:option.git-version {:name :build/git-version
111
+ ^#:fika{:examples [" :build/git-version $(printf '\" %s\" ' $(git describe --tags))" ]
112
+ :option.git-version {:name :build/git-version
112
113
:desc " Output of `git describe --tags`, e.g. \" v1.2.3\" , \" v1.2.3-pre.1\" " }}
113
114
build
114
115
" Build the JAR."
You can’t perform that action at this time.
0 commit comments