Grant non-project profile access to with-profile

This commit is contained in:
Colin Jones 2013-03-19 23:13:30 -05:00
parent fe6a0d1db2
commit 3a2cf94324

View file

@ -8,7 +8,9 @@
"Apply the given task with a comma-separated profile list."
[project profiles task-name args]
(hooke/with-scope
(let [project (and project (project/set-profiles project profiles))
(let [project (and project (project/set-profiles
(project/project-with-profiles project)
profiles))
task-name (main/lookup-alias task-name project)]
(main/apply-task task-name project args))))