I have a project with :uberjar {:aot :all}
, and everything was working fine. Then I added a :prep-tasks [["run" "-m" "foo.bar"]]
and AOT compilation stopped happening. Is that a bug? I want to compile CLJS before building an uberjar, is :prep-tasks
the best way to do that?
@arohner if you alter prep-tasks you still have to specify the original ones I believe is your issue
Pretty good docs that discuss this actually (in a plug-in of all places) https://github.com/hypirion/lein-shell/blob/master/doc/DOCUMENTATION.md#a-word-about-prep-tasks