Skip to content

Commit

Permalink
wip [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jan 2, 2024
1 parent d8eb79c commit 617df42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/babashka/neil.clj
Original file line number Diff line number Diff line change
@@ -343,7 +343,7 @@ chmod +x bin/kaocha
(apply prn xs)))

(defn dep-add [{:keys [opts]}]
(prn :opts opts)
(.println System/err (str opts))
(if (or (:help opts) (:h opts) (not (:lib opts)))
(print-dep-add-help)
(do
@@ -890,14 +890,14 @@ test
:spec neil-test/neil-test-spec
:alias neil-test/neil-test-aliases}
{:cmds []
:spec {:version {:coerce :boolean}}
;; :spec {:version {:coerce :boolean}}
:fn (fn [{:keys [opts] :as m}]
(if (:version opts)
(neil-version/print-version)
(print-help m)))}]
*command-line-args*
{:spec spec
#_#_:exec-args {:deps-file "deps.edn"}})
:exec-args {:deps-file "deps.edn"}})
nil)

(when (= *file* (System/getProperty "babashka.file"))

0 comments on commit 617df42

Please sign in to comment.