$ export BABASHKA_CLASSPATH=$(clojure -Spath -Sdeps '{:deps {regal {:git/url "<https://github.com/borkdude/regal>" :sha "42906e57bf45e9d6cb699700ea19e653757f535d"}}}')
$ bb "(require '[lambdaisland.regal :as re]) (re/regex [:range \a \z])"
#"[a-z]"
bb is now able to run regal from the original repo: https://github.com/borkdude/babashka/#regal
it's also "tested" in CI with every update to bb (for a specific commit of regal)
cool!
the only thing I had to change is to copy the :clj branches to a :bb branch 🙂
relevant issue: https://github.com/borkdude/babashka/issues/267
cool stuff! Happy to merge in a :bb
branch, or change :clj
to :default
.
I might change the behavior of bb to take the :clj branch if there is no :bb branch before it, so then it would just work. But it would be nice to have some testing in place to test compatibility with bb for future changes, if you're open to that.
I could also do the testing in the bb repo itself, might make sense