Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (28 sloc) 1.113 kb
7a6b35d @technomancy Initial commit.
authored
1 # lein-precate
2
3 Suggest a new project.clj that's compatible with Leiningen 2.
4
5 ## Usage
6
72def77 @technomancy Readme updates.
authored
7 ```
c44d703 @technomancy Release 0.3.0.
authored
8 $ lein plugin install lein-precate 0.3.0
d46c93e @technomancy Collapse example.
authored
9 $ cat project.clj # the original 1.x-compatible version:
72def77 @technomancy Readme updates.
authored
10 (defproject clojure-http-client "1.1.1-SNAPSHOT"
11 :description "An HTTP client for Clojure."
12 :source-path "src/clj"
13 :extra-classpath-dirs ["dumb-stuff"]
14 :dev-dependencies [[swank-clojure "1.3.4"]]
15 :dependencies [[org.clojure/clojure "1.2.1"]
16 [org.clojure/clojure-contrib "1.2.0"]])
17
18 $ lein precate # let's see how that would look for Leiningen 2
19 (defproject clojure-http-client "1.1.1-SNAPSHOT"
20 :description "An HTTP client for Clojure."
11a550f @technomancy Release 0.1.0.
authored
21 :source-paths ["src/clj"]
d36fa11 @technomancy Release 0.2.0.
authored
22 :dependencies [[org.clojure/clojure "1.2.1"]
23 [org.clojure/clojure-contrib "1.2.0"]]
72def77 @technomancy Readme updates.
authored
24 :profiles {:dev
11a550f @technomancy Release 0.1.0.
authored
25 {:resource-paths ["dumb-stuff"],
d36fa11 @technomancy Release 0.2.0.
authored
26 :dependencies [[swank-clojure "1.3.4"]]}}
72def77 @technomancy Readme updates.
authored
27 :min-lein-version "2.0.0")
28 ```
29
30 This plugin is designed to be run under Leiningen 1.x.
7a6b35d @technomancy Initial commit.
authored
31
32 ## License
33
34 Copyright © 2012 Phil Hagelberg
35
36 Distributed under the Eclipse Public License, the same as Clojure.
Something went wrong with that request. Please try again.