If I forget to include with-profile +uberjar
when I run lein deploy
, it won't include compiled css and js assets in the jar. Is there a way to make it so lein deploy
always runs with the uberjar profile?
@regen I think you can create an alias: :aliases {"deploy" ["with-profile" "+uberjar" "deploy"]}
.
At least I’ve done similar with repl
and test
tasks with success.
Thanks, that worked perfectly!