Re: Parameterizing project.clj

2011-05-24 Thread Ulrik Sandberg
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,

Re: Parameterizing project.clj

2011-05-23 Thread Phil Hagelberg
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

Re: Parameterizing project.clj

2011-05-23 Thread Rasmus Svensson
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

Parameterizing project.clj

2011-05-23 Thread 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 of property names that refer to environ