Fork me on GitHub
#lambdaisland
<
2020-02-17
>
borkdude09:02:28

$ export BABASHKA_CLASSPATH=$(clojure -Spath -Sdeps '{:deps {regal {:git/url "" :sha "42906e57bf45e9d6cb699700ea19e653757f535d"}}}')
$ bb "(require '[lambdaisland.regal :as re]) (re/regex [:range \a \z])"
#"[a-z]"

borkdude11:02:38

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

plexus13:02:55

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

borkdude13:02:08

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.

borkdude13:02:21

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

borkdude10:02:22

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

borkdude10:02:50

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