Skip to content

Instantly share code, notes, and snippets.

@dakrone
Created February 16, 2012 18:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dakrone/1846759 to your computer and use it in GitHub Desktop.
Save dakrone/1846759 to your computer and use it in GitHub Desktop.
lein-multi functionality with lein ver.2 profiles
∴ lein2 all test
Performing task 'test' with profile(s): 'dev,1.2'
Testing clj-http.test.client
Testing clj-http.test.cookies
Testing clj-http.test.core
Ran 47 tests containing 175 assertions.
0 failures, 0 errors.
Performing task 'test' with profile(s): 'dev'
Testing clj-http.test.client
Testing clj-http.test.cookies
Testing clj-http.test.core
Ran 47 tests containing 175 assertions.
0 failures, 0 errors.
Performing task 'test' with profile(s): 'dev,1.4'
Testing clj-http.test.client
Testing clj-http.test.cookies
Testing clj-http.test.core
Ran 47 tests containing 175 assertions.
0 failures, 0 errors.
lein2 all test 49.71s user 2.74s system 256% cpu 20.448 total
(defproject clj-http "0.3.3-SNAPSHOT"
:description "A Clojure HTTP library wrapping the Apache HttpComponents client."
:url "https://github.com/dakrone/clj-http/"
:repositories {"sona" "http://oss.sonatype.org/content/repositories/snapshots"}
:warn-on-reflection false
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.3.0"]
[org.apache.httpcomponents/httpclient "4.1.2"]
[org.apache.httpcomponents/httpmime "4.1.2"]
[commons-codec "1.5"]
[commons-io "2.1"]
[slingshot "0.10.1"]
[cheshire "2.2.0"]]
:profiles {:dev {:dependencies [[ring/ring-jetty-adapter "1.0.2"]
[ring/ring-devel "1.0.2"]]}
:1.2 {:dependencies [[org.clojure/clojure "1.2.1"]]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0-beta1"]]}}
:aliases {"all" ["with-profile" "dev,1.2:dev:dev,1.4"]}
:test-selectors {:default #(not (:integration %))
:integration :integration
:all (constantly true)}
:checksum-deps true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment