Permalink
Browse files

Merge pull request #8 from hugoduncan/init-sub-project

Init sub-projects, so their plugins are applied
  • Loading branch information...
2 parents 7e41fbf + e9676a7 commit b4605748e57ff2f0031b9aabfe87b59ee3f2ef19 @kumarshantanu committed Sep 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/sub.clj
@@ -6,7 +6,8 @@
(defn apply-task-to-subproject
[sub-proj-dir task-name args]
(println "Reading project from" sub-proj-dir)
- (let [sub-project (project/read (str sub-proj-dir "/project.clj"))]
+ (let [sub-project (project/init-project
+ (project/read (str sub-proj-dir "/project.clj")))]
(main/apply-task task-name sub-project args)))
(defn sub

0 comments on commit b460574

Please sign in to comment.