Merge pull request #482 from technomancy/feature/392-profiles-in-project-map

Add :included-profiles metadata to project map in merge-profiles. See issue 392.
This commit is contained in:
Phil Hagelberg 2012-03-29 10:12:08 -07:00
commit b95be1039d

View file

@ -174,7 +174,8 @@
(let [merged (reduce merge-profile project (let [merged (reduce merge-profile project
(profiles-for project profiles-to-apply))] (profiles-for project profiles-to-apply))]
(with-meta (normalize merged) (with-meta (normalize merged)
{:without-profiles (normalize project)}))) {:without-profiles (normalize project)
:included-profiles profiles-to-apply})))
(defn ensure-dynamic-classloader [] (defn ensure-dynamic-classloader []
(let [thread (Thread/currentThread) (let [thread (Thread/currentThread)