Merge branch 'master' into spec1

This commit is contained in:
Michiel Borkent 2022-09-30 12:59:41 +02:00
commit 988a21b73b
5 changed files with 8 additions and 6 deletions

@ -1 +1 @@
Subproject commit d4d6d720c0d62eb3e2230fa85291a5fd68398d6a
Subproject commit c8c4d79c5fd8cb1d6e8daec4eec7b0a4d739f36c

2
pods

@ -1 +1 @@
Subproject commit 53f79da09d5da542204f3cb0161724221276dfcb
Subproject commit decf791000081ca9e6d2fbea9f20a0aa3fae902e

View file

@ -66,7 +66,7 @@
paths)
paths)]
(cp/add-classpath (str/join cp/path-sep paths))))
(let [need-deps? (or (:deps deps-map)
(let [need-deps? (or (seq (:deps deps-map))
(and (:aliases deps-map)
aliases))]
(when need-deps?

View file

@ -1049,7 +1049,9 @@ Use bb run --help to show this help output.
(catch java.lang.RuntimeException e
(if (re-find #"No dispatch macro for: \"" (.getMessage e))
(throw (ex-info "Invalid regex literal found in EDN config, use re-pattern instead" {}))
(throw e)))))
(do (binding [*out* *err*]
(println "Error during loading bb.edn:"))
(throw e))))))
(defn main [& args]
(let [[args global-opts] (parse-global-opts args)

View file

@ -104,14 +104,14 @@
"id" id})
pod.test-pod/print
(do (write
{"out" (pr-str args)
{"out" (prn-str args)
"id" id})
(write
{"status" ["done"]
"id" id}))
pod.test-pod/print-err
(do (write
{"err" (pr-str args)
{"err" (prn-str args)
"id" id})
(write
{"status" ["done"]