Fork me on GitHub
#leiningen
<
2016-06-01
>
niquola12:06:18

Stupid question - can lein run multiple commands at once?

acron14:06:12

:repositories [["releases" {:url ""}]
                 ["snapshots" {:url ""}]]
My project file includes this

acron14:06:23

But when I lein deploy I get

acron14:06:44

WARNING: please set :url in project.clj.
No credentials found for releases(did you mean `lein deploy clojars`?)
See `lein help deploying` for how to configure credentials to avoid prompts.

acron14:06:58

However, lein deploy clojars succeeds as expected

acron14:06:15

(I am trying to get lein release to work but it fails for the same reason as lein deploy)

acron14:06:05

As I say, lein deploy clojars works which proves that my credentials are in the correct location and format (`~/.lein/credentials.clj.gpg`)

acron14:06:39

Ok, I fixed it by adding :creds :gpg to each of the repository maps

danielcompton22:06:12

@nicola add do to your commands and separate them with commas

danielcompton22:06:24

lein do clean, install