duct

ts1503 2021-03-19T06:10:20.008Z

Hello guys. Sorry for the noob question. Always wondering what exactly this line from the lein config is doing:

:prep-tasks ["javac" "compile" ["run" ":duct/compiler"]]
I understand that lein run will call the -main function but what the point of the :duct/compiler part? Didn’t find any notes in the docs

2021-03-22T15:33:54.008100Z

Mainly to compile cljs

2021-03-22T15:34:27.008600Z

but there are probably better ways to do this

ts1503 2021-03-22T20:03:52.008800Z

thanks