Fork me on GitHub
#tools-deps
<
2020-03-30
>
sogaiu00:03:48

@jlle iiuc, compiling java is not in the scope of tools.deps -- may be something under here might be relevant? https://github.com/clojure/tools.deps.alpha/wiki/Tools#packaging

potetm00:03:05

@jlle You can also call javac from the cli.

jose13:03:18

I found that badigeon / pbuilder are good for my use case

👍 4
borkdude14:03:27

$ clj -Sdeps '{:aliases {:foo {:main-opts ["-e" "(ns,foo,(:require,[clojure.java.shell,:refer,[sh]])),(sh,\"javac\",\"Foo.java\"),(shutdown-agents)"]}}}' -A:foo
😜

👍 12
borkdude14:03:24

(it took me only 10 minutes to figure out the correct nesting and seancorfield-commas on the command line)