Fork me on GitHub
#leiningen
<
2022-01-04
>
zendevil.eth16:01:17

How to run a prep-task in lein?

zendevil.eth16:01:35

I want to run the task lein run -m user and I tried:

:prep-tasks ["run -m user"]
and
:prep-tasks ["run" "-m user"]
but they give run -m user is not a task and -m user is not a task respectively

dpsutton16:01:19

from the sample it looks like you might want [["run" "-m" "user"]]: https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L263-L266