From 0744eb2589eacf977088a48cd63b51526861c1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunnar=20V=C3=B6lkel?= Date: Sun, 13 Jan 2013 20:12:01 +0100 Subject: [PATCH] Update README.md Adds plugin install description for Leiningen 2. --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 557f1e5..daf9f9c 100644 --- a/README.md +++ b/README.md @@ -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.