Fix Issue 1422 - add help text to repl and uberjar tasks documenting implicit profile application
This commit is contained in:
parent
f0e558d994
commit
f9eddd5bed
2 changed files with 10 additions and 2 deletions
|
@ -245,7 +245,11 @@ Subcommands:
|
|||
localhost.
|
||||
If no dest is given, resolves the host resolved as described above
|
||||
and the port from LEIN_REPL_PORT, :repl-options, or .nrepl-port in
|
||||
the project root, in that order."
|
||||
the project root, in that order.
|
||||
|
||||
Note: the default profiles (`:dev`, `:provided`, `:user`, `:system`, and `:base`)
|
||||
profiles are activated for this task. Type 'lein help profiles' for more information."
|
||||
|
||||
([project] (repl project ":start"))
|
||||
([project subcommand & opts]
|
||||
(let [project (project/merge-profiles project [:repl])]
|
||||
|
|
|
@ -122,7 +122,11 @@ distribution.
|
|||
With an argument, the uberjar will be built with an alternate main.
|
||||
|
||||
The namespace you choose as main should have :gen-class in its ns form
|
||||
as well as defining a -main function."
|
||||
as well as defining a -main function.
|
||||
|
||||
Note: the default profiles (`:dev`, `:provided`, `:user`, `:system`, and `:base`)
|
||||
profiles are activated for this task. Type 'lein help profiles' for more information."
|
||||
|
||||
([project main]
|
||||
(let [standalone-filename (jar/get-jar-filename project :standalone)
|
||||
project (project/merge-profiles project [:uberjar])
|
||||
|
|
Loading…
Reference in a new issue