Permalink
Browse files

Update README.md

Adds plugin install description for Leiningen 2.
  • Loading branch information...
1 parent 6096352 commit 0744eb2589eacf977088a48cd63b51526861c1e9 @guv committed Jan 13, 2013
Showing with 9 additions and 7 deletions.
  1. +9 −7 README.md
View
@@ -5,13 +5,15 @@ which linked in the "checkouts" folder are built as well.
## Install
-You can install this plugin via:
+You can use this plugin in a single project by specifying the following in its project.clj:
+```clj
+:plugins [[lein-checkouts "1.1.0"]]
+```
- $ lein plugin install lein-checkouts "1.0.0"
-
-Include it as a dev-dependency in your project.clj is another option:
-
- :dev-dependencies [[lein-checkouts "1.0.0"]]
+To be able to use the plugin in every project, add it to your ```~/.lein/profiles.clj``` like this:
+```clj
+{:user {:plugins [[lein-checkouts "1.1.0"]]}}
+```
## Usage
@@ -27,6 +29,6 @@ Depending on the specified task different actions are performed on the dependenc
## License
-Copyright (C) 2011 Gunnar Völkel
+Copyright (C) 2011-2013 Gunnar Völkel
Distributed under the Eclipse Public License, the same as Clojure.

0 comments on commit 0744eb2

Please sign in to comment.