Permalink
Browse files

switch from lein-multi to with-profile

  • Loading branch information...
1 parent 0d09c38 commit 4716bb26c6a5439c11c1d2bb9bebc3a123836088 @marick committed Oct 25, 2012
Showing with 11 additions and 8 deletions.
  1. +5 −0 Rakefile
  2. +6 −8 project.clj
View
@@ -42,3 +42,8 @@ task :upload do
end
doit("scp pom.xml #{jar_name} clojars@clojars.org:")
end
+
+desc "Check many versions of Clojure"
+task :compatibility do
+ doit("lein with-profile 1.2.0:1.2.1:1.3:1.4:1.5 midje")
+end
View
@@ -14,18 +14,16 @@
:dependencies ~(cons '[org.clojure/clojure "1.4.0"]
common-deps)
- :multi-deps {"1.2.0" [[org.clojure/clojure "1.2.0"]]
- "1.2.1" [[org.clojure/clojure "1.2.1"]]
- "1.3.0" [[org.clojure/clojure "1.3.0"]]
- "1.4.0" [[org.clojure/clojure "1.4.0"]]
- "1.5.0" [[org.clojure/clojure "1.5.0-alpha3"]]
- :all ~common-deps }
:profiles {:dev {:dependencies [[slamhound "1.2.0"]
[jonase/kibit "0.0.3"]
[jonase/eastwood "0.0.2"]
- [lein-multi "1.1.0"]
[com.stuartsierra/lazytest "1.2.3"]]
- :plugins [[lein-midje "2.0.0"]]}}
+ :plugins [[lein-midje "2.0.0"]]}
+ :1.2.0 {:dependencies [[org.clojure/clojure "1.2.0"]]}
+ :1.2.1 {:dependencies [[org.clojure/clojure "1.2.1"]]}
+ :1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]}
+ :1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
+ :1.5 {:dependencies [[org.clojure/clojure "1.4.0"]]}}
:resource-paths ["test-resources"]
:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/mit-license.php"

0 comments on commit 4716bb2

Please sign in to comment.