leiningen icon indicating copy to clipboard operation
leiningen copied to clipboard

How to know what profiles are activated with each task?

Open qianyan opened this issue 9 years ago • 3 comments

Leiningen will automatically merge the :dev profile into the project configuration for the repl, test, and run tasks, but not jar or uberjar.

from this quoted comment, I am really confused how to know what profiles are activated by default for each task? for example: if I run lein run, what profiles are activated?

qianyan avatar Jun 01 '16 12:06 qianyan

Yeah, this is poorly documented, and is often messes with the developer's expectations.

I think we should write it up, but I'm interested in getting this way simpler for 3.0.

hypirion avatar Jun 19 '16 09:06 hypirion

I also have this confusion, some better docs in this area would be really helpful.

LukeDefeo avatar Jan 06 '17 12:01 LukeDefeo

It would nice it lein printed out the list of profiles available and then also the profiles its actually merged for the task. Maybe this could be a verbose option

LukeDefeo avatar Jan 06 '17 12:01 LukeDefeo