Switch to using Leiningen 2 aliases
This commit is contained in:
parent
5df187c596
commit
55a78d55b3
3 changed files with 13 additions and 12 deletions
|
|
@ -2,4 +2,4 @@ language: clojure
|
|||
lein: lein2
|
||||
before_script:
|
||||
- ./bin/ci/before_script.sh
|
||||
script: lein2 with-profile dev:1.4 test
|
||||
script: lein2 all test
|
||||
|
|
|
|||
|
|
@ -361,9 +361,10 @@ Neocons is part of the group of libraries known as ClojureWerkz, together with
|
|||
|
||||
## Development
|
||||
|
||||
Monger uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make sure you have it installed and then run tests against Clojure 1.3.0 and 1.4.0[-beta4] using
|
||||
Monger uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make sure you have it installed and then run tests against
|
||||
Clojure 1.3.0 and 1.4.0[-beta4] using
|
||||
|
||||
lein2 with-profile test:1.4 test
|
||||
lein2 all test
|
||||
|
||||
Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request
|
||||
on Github.
|
||||
|
|
|
|||
18
project.clj
18
project.clj
|
|
@ -10,19 +10,19 @@
|
|||
:mailing-list {:name "clojure-monger",
|
||||
:archive "https://groups.google.com/group/clojure-monger",
|
||||
:post "clojure-monger@googlegroups.com"}
|
||||
:profiles {:all {:dependencies [[org.mongodb/mongo-java-driver "2.7.3"]
|
||||
[com.novemberain/validateur "1.0.0"]]},
|
||||
:1.4 {:resource-paths ["test/resources"],
|
||||
:dependencies [[org.clojure/clojure "1.4.0-beta4"]
|
||||
[org.clojure/data.json "0.1.2" :exclusions [org.clojure/clojure]]
|
||||
[clj-time "0.3.6" :exclusions [org.clojure/clojure]]
|
||||
[codox "0.3.4" :exclusions [org.clojure/clojure]]
|
||||
[org.clojure/tools.cli "0.2.1" :exclusions [org.clojure/clojure]]]},
|
||||
:profiles {:1.4 {:resource-paths ["test/resources"],
|
||||
:dependencies [[org.clojure/clojure "1.4.0-beta4"]]},
|
||||
:dev {:resource-paths ["test/resources"],
|
||||
:dependencies [[org.clojure/data.json "0.1.2" :exclusions [org.clojure/clojure]]
|
||||
:dependencies [[org.mongodb/mongo-java-driver "2.7.3"]
|
||||
[com.novemberain/validateur "1.0.0"]
|
||||
[clj-time "0.3.6" :exclusions [org.clojure/clojure]]
|
||||
[codox "0.3.4" :exclusions [org.clojure/clojure]]
|
||||
[org.clojure/tools.cli "0.2.1" :exclusions [org.clojure/clojure]]
|
||||
[org.clojure/data.json "0.1.2" :exclusions [org.clojure/clojure]]
|
||||
[clj-time "0.3.6" :exclusions [org.clojure/clojure]]
|
||||
[codox "0.3.4" :exclusions [org.clojure/clojure]]
|
||||
[org.clojure/tools.cli "0.2.1" :exclusions [org.clojure/clojure]]]}}
|
||||
:aliases { "all" ["with-profile" "dev:dev,1.4"] }
|
||||
:repositories {"sonatype" {:url "http://oss.sonatype.org/content/repositories/releases",
|
||||
:snapshots false,
|
||||
:releases {:checksum :fail, :update :always}}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue