Fork me on GitHub
#tools-deps
<
2021-03-21
>
orestis13:03:30

I was happy to see that Netlify includes clojure as a default CLI tool but it seems like the version there doesn't include the recent additions of -M and -X which is annoying because now I get local warnings about -M ...

borkdude14:03:37

Is there a technical reason -m foo/bar doesn't work when you have (ns foo) (defn bar [& args])? Maybe the JVM background where -main is compiled to a Java main function?

thheller14:03:19

given the recent work on the deps.edn execute stuff I doubt this will ever make it in 😛

borkdude14:03:41

I want to support this in babashka, -f already means: execute file there.

borkdude14:03:19

If there are no technical or philosophical objections, I will support this

thheller14:03:57

given that many other tools already support using namespaced symbols in -m I'd say go for it

borkdude14:03:03

But this should probably not matter for :main-opts invocations which usually happen from source?