Fork me on GitHub
#babashka
<
2021-04-10
>
djblue02:04:59

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 😬

🤫 3
borkdude15:04:46

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.

🚀 15
Duck Nebuchadnezzar18:04:36

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

borkdude18:04:03

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

Duck Nebuchadnezzar18:04:50

fwiw, I took that from issue 778

borkdude18:04:34

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

👍 3
borkdude18:04:48

Fixed in the issue, thanks

Duck Nebuchadnezzar19:04:52

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

borkdude19:04:27

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

borkdude19:04:42

I'll add it to the issue