Created
May 6, 2012 18:48
-
-
Save mikebell/2623768 to your computer and use it in GitHub Desktop.
Drush make in Phing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="mumblrmake" default="dl modules" description="Jenkins Mumblr Make"> | |
<target name="dl modules"> | |
<exec command="drush make mumblr.make . --yes" error='error' checkreturn="true"> | |
</exec> | |
<loadfile property="en.error" file="error" /> | |
<if> | |
<contains string="${en.error}" substring="warning" /> | |
<then> | |
<property name="en.fail" value="Could not download all modules" /> | |
</then> | |
</if> | |
<fail if="en.fail" message="${en.fail}" /> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment