lambdaisland

borkdude 2020-02-17T09:45:28.025400Z

$ 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]"

borkdude 2020-02-20T10:06:22.027800Z

bb is now able to run regal from the original repo: https://github.com/borkdude/babashka/#regal

borkdude 2020-02-20T10:06:50.028Z

it's also "tested" in CI with every update to bb (for a specific commit of regal)

plexus 2020-02-20T10:42:13.028200Z

cool!

borkdude 2020-02-17T11:07:38.026800Z

the only thing I had to change is to copy the :clj branches to a :bb branch 🙂

borkdude 2020-02-17T11:07:48.027Z

relevant issue: https://github.com/borkdude/babashka/issues/267

plexus 2020-02-17T13:26:55.027200Z

cool stuff! Happy to merge in a :bb branch, or change :clj to :default.

borkdude 2020-02-17T13:28:08.027400Z

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.

borkdude 2020-02-17T13:33:21.027600Z

I could also do the testing in the bb repo itself, might make sense