leiningen

zendevil.eth 2022-01-04T16:47:17.055600Z

How to run a prep-task in lein?

zendevil.eth 2022-01-04T16:48:35.056900Z

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

dpsutton 2022-01-04T16:55:19.057600Z

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