Add core specs warning

This commit is contained in:
Michiel Borkent 2021-12-08 18:08:02 +01:00
parent f5fd11fd78
commit 54cd1fa85f

View file

@ -731,6 +731,9 @@ Use bb run --help to show this help output.
clojure.spec.alpha
(binding [*out* *err*]
(println "[babashka] WARNING: Use the babashka-compatible version of clojure.spec.alpha, available here: https://github.com/babashka/spec.alpha"))
clojure.core.specs.alpha
(binding [*out* *err*]
(println "[babashka] WARNING: clojure.core.specs.alpha isremoved from the classpath, unless you explicitly add the dependency."))
nil)))
main (if (and jar (not main))
(when-let [res (cp/getResource