Permalink
Browse files

Readme updates.

  • Loading branch information...
1 parent db7045f commit 72def776c37f578c353b7a35f7b7e4b967497f20 @technomancy committed Feb 21, 2012
Showing with 31 additions and 3 deletions.
  1. +31 −3 README.md
View
34 README.md
@@ -4,10 +4,38 @@ Suggest a new project.clj that's compatible with Leiningen 2.
## Usage
-This plugin is designed to be run under Leiningen 1.x:
+```
+$ lein plugin install lein-precate 0.1.0-SNAPSHOT
+```
- $ lein plugin install lein-precate 0.1.0-SNAPSHOT
- $ lein precate
+```
+$ cat project.clj
+(defproject clojure-http-client "1.1.1-SNAPSHOT"
+ :description "An HTTP client for Clojure."
+ :source-path "src/clj"
+ :extra-classpath-dirs ["dumb-stuff"]
+ :dev-dependencies [[swank-clojure "1.3.4"]]
+ :dependencies [[org.clojure/clojure "1.2.1"]
+ [org.clojure/clojure-contrib "1.2.0"]])
+```
+
+```
+$ lein precate # let's see how that would look for Leiningen 2
+```
+
+```clj
+(defproject clojure-http-client "1.1.1-SNAPSHOT"
+ :description "An HTTP client for Clojure."
+ :source-path ["src/clj"]
+ :dependencies {org.clojure/clojure "1.2.1",
+ org.clojure/clojure-contrib "1.2.0"}
+ :profiles {:dev
+ {:resources-path ["dumb-stuff"],
+ :dependencies {swank-clojure "1.3.4"}}}
+ :min-lein-version "2.0.0")
+```
+
+This plugin is designed to be run under Leiningen 1.x.
## License

0 comments on commit 72def77

Please sign in to comment.