I don't know if this is a good or bad thing, but if you need access to a clojure.lang.* class that isn't explicitly available in babashka, you can find them on your own https://github.com/djblue/portal/pull/51/files#diff-65529c22b576a7dd51ca2ad864b9fdc31aa0efefbf19850a745f83e31ca2848aR135-R140 😬
Nice hack
Babashka v0.3.3: https://github.com/babashka/babashka/blob/master/CHANGELOG.md#v033 This contains a preview version of babashka tasks, a feature somewhere in between Makefile, npm scripts and lein aliases. Please try it out and provide feedback. Caution, this feature is expected to change or might even go away completely, based on feedback.
I seem to be getting an error when I try to use the new tasks feature
@duck You need to either quote (+ 1 2 3)
or put it in a separate argument
fwiw, I took that from issue 778
{:tasks {eval (clojure "-M -e '(+ 1 2 3)'")}}
Fixed in the issue, thanks
Don't know if you want things like this in the issue or not, but you should probably sort the names in list-tasks
otherwise the sort becomes unpredictable after 8 tasks
ah crap, I had it in there before but I removed the sort
call :)
I'll add it to the issue