Update docs to say how to install lein-git-deps itself #2

Merged
merged 3 commits into from May 22, 2012
View
@@ -1,13 +1,15 @@
-# lein-git-deps
+lein-git-deps
+============
-A leiningen task that will pull dependencies in via git.
+A Leiningen task that will pull dependencies in via git.
Original code extracted from the excellent ClojureScript One Project:
https://github.com/brentonashworth/one
https://github.com/brentonashworth/one/blob/master/src/leiningen/git_deps.clj
-## Usage
+Usage
+====
Dependencies should be listed in project.clj under the ":git-dependencies" key
@@ -18,12 +20,17 @@ Dependencies can be provided as:
* url, commit, and a map of options
-To get the system to play nice with leiningen, you will need to add the code to to the classpath:
+To get the system to play nice with leiningen, you will need to add
+lein-git-deps as a dev-dependency, specify your git-dependencies, and
+then add the Git-sourced code to to the classpath:
+ :dev-dependencies [[lein-git-deps "0.0.1-SNAPSHOT"]]
:git-dependencies [["https://github.com/tobyhede/monger.git"]]
:extra-classpath-dirs [".lein-git-deps/monger/src/"]
-You will also need to manually add the checked-out project's dependencies as your own (the plugin simply checks out the code, it doesn't recursively resolve dependencies).
+You will also need to manually add the checked-out project's
+dependencies as your own (the plugin simply checks out the code, it
+doesn't recursively resolve dependencies).