Merge pull request #1239 from djanatyn/master

add suggestion to deploy to clojars when running `lein deploy` with no arguments
This commit is contained in:
Jean Niklas L'orange 2013-06-26 04:07:58 -07:00
commit 0c6b417d9f

View file

@ -36,12 +36,12 @@
[id settings]
(do
(when @utils/rebound-io?
(main/abort "No credentials found for" id
(main/abort "No credentials found for" id "(did you mean `lein deploy clojars`?)"
"\nPassword prompts are not supported when ran after other"
"(potentially)\ninteractive tasks. Maybe setting up"
"credentials may be an idea?\n\nSee `lein help deploy` for an"
"explanation of how to specify credentials."))
(println "No credentials found for" id)
(println "No credentials found for" id "(did you mean `lein deploy clojars`?)")
(println "See `lein help deploy` for how to configure credentials.")
(print "Username: ") (flush)
(let [username (read-line)