Skip to content

Commit

Permalink
Allow specification of multiple Features bundles (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove authored and grasmash committed Nov 8, 2016
1 parent 7e5e068 commit 4d42447
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions phing/tasks/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,17 @@
<param>drush</param>
</drush>
<!-- Revert all features. -->
<drush command="fra" assume="yes" alias="${drush.alias}">
<option name="bundle">${cm.features.bundle}</option>
</drush>
<foreach list="${cm.features.bundle}" param="bundle" target="setup:update:features-import" />
</then>
</if>
<!-- Rebuild caches. -->
<drush command="cr" alias="${drush.alias}"/>
</target>

<target name="setup:update:features-import" description="Perform a features import on the specified bundle.">
<drush command="fra" assume="yes" alias="${drush.alias}">
<option name="bundle">${bundle}</option>
</drush>
</target>

</project>

0 comments on commit 4d42447

Please sign in to comment.