Brilliant. Two good solutions. Thanks.
On 24 Maj, 00:44, Phil Hagelberg wrote:
> On May 23, 6:19 am, Rasmus Svensson wrote:
>
> > (defproject foo 1.0.0
> > ...the usual stuff...
> > :aws {:access-key ~access-key
> > :secret-key ~secret-key}
>
> This is good advice,
On May 23, 6:19 am, Rasmus Svensson wrote:
> (defproject foo 1.0.0
> ...the usual stuff...
> :aws {:access-key ~access-key
> :secret-key ~secret-key}
This is good advice, but you can also use leiningen.core/user-
settings, which returns a map of user-level configura
2011/5/23 Ulrik Sandberg :
> How can I parameterize stuff in Leiningen's project.clj? For example,
> I don't want to put my AWS credentials inside the project file:
>
> ...
> :aws {:access-key "XX"
> :secret-key "Y"}
>
> but instead use some kind
How can I parameterize stuff in Leiningen's project.clj? For example,
I don't want to put my AWS credentials inside the project file:
...
:aws {:access-key "XX"
:secret-key "Y"}
but instead use some kind of property names that refer to environ