Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename README to README.md

  • Loading branch information...
commit 91a0f39f7fe196b8a1dc0740349119b32019991e 1 parent ef05ddb
@kumarshantanu authored
Showing with 36 additions and 0 deletions.
  1. +36 −0 README.md
View
36 README.md
@@ -0,0 +1,36 @@
+# lein-sub
+
+Leiningen plugin to execute tasks on sub-projects
+
+
+## Usage
+
+Either install as a plugin:
+
+ $ lein plugin install lein-sub "0.1"
+
+Or, include as a dev-dependency:
+
+ :dev-dependencies [lein-sub "0.1"]
+
+Your project may have sub-projects (each having its own project.clj file) - you can specify them as follows:
+
+ :sub ["module/foo-common" "module/dep-vendor-xyz"]
+
+Execute the plugin as follows:
+
+ $ lein sub deps # runs "lein deps" on each of 'foo-common' and 'dep-vendor-xyz'
+
+ $ lein sub jar # runs "lein jar" on both
+ $ lein sub install # install both sub-project artifacts to local Maven repo
+ $ lein clean; rm -rf lib # clean current dependency JARs
+ $ lein deps && lein test # get deps from remote and local Maven repos and run tests
+
+
+## License
+
+Copyright (C) 2011 Shantanu Kumar
+
+Adapted from Phil Hagelberg's example: http://j.mp/oC9TTo
+
+Distributed under the Eclipse Public License, the same as Clojure.
Please sign in to comment.
Something went wrong with that request. Please try again.