> (ns leiningen.sub > (:use [leiningen.core :only [apply-task task-not-found]])) > > (defn sub [task-name & args] > (doseq [project (projects-in-dir)] > (apply-task task-name project args task-not-found))) > > Implementation of projects-in-dir left as an exercise for the > reader. Shouldn't be more than four lines. Push the lein-subs plugin to > clojars: problem solved in a repeatable, maintainable way.
IMHO such a thing can be added to Lein proper as a feature. It's very useful. Maybe with a :sub key in project.clj: :sub ["module/dep-B" "module/dep-D"] Regards, Shantanu -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en