babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
djblue 2021-04-10T02:02:59.470700Z

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 😬

🤫 1
borkdude 2021-04-10T07:09:52.472100Z

Nice hack

borkdude 2021-04-10T15:46:46.473800Z

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.

🚀 5
2021-04-10T18:16:36.475800Z

I seem to be getting an error when I try to use the new tasks feature

borkdude 2021-04-10T18:19:03.476400Z

@duck You need to either quote (+ 1 2 3) or put it in a separate argument

2021-04-10T18:19:50.476800Z

fwiw, I took that from issue 778

borkdude 2021-04-10T18:20:34.477Z

{:tasks {eval (clojure "-M -e '(+ 1 2 3)'")}}

👍 1
borkdude 2021-04-10T18:21:48.477400Z

Fixed in the issue, thanks

2021-04-10T19:03:52.479Z

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

borkdude 2021-04-10T19:05:27.479600Z

ah crap, I had it in there before but I removed the sort call :)

borkdude 2021-04-10T19:05:42.479800Z

I'll add it to the issue