Permalink
Browse files

Init sub-projects, so their plugins are applied

  • Loading branch information...
1 parent 7e41fbf commit e9676a7adb1d7b3bbe11fa82b0af64c33412d0e5 @hugoduncan hugoduncan committed Sep 27, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/sub.clj
View
@@ -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 e9676a7

Please sign in to comment.