Make with-profile start from the base project.
This commit is contained in:
parent
6ac9ba9832
commit
32b2379c4e
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@
|
|||
Comma-separated profiles may be given to merge profiles and perform the task.
|
||||
Colon-separated profiles may be given for sequential profile task application."
|
||||
[project profiles task-name & args]
|
||||
(let [profile-groups (seq (.split profiles ":"))]
|
||||
(let [profile-groups (seq (.split profiles ":"))
|
||||
project (:without-profiles (meta project) project)]
|
||||
(doseq [profile-group profile-groups]
|
||||
(println (format "Performing task '%s' with profile(s): '%s'"
|
||||
task-name profile-group))
|
||||
|
|
Loading…
Reference in a new issue