Added colour to 'phing behat' command

This commit is contained in:
Sam Minnee 2012-11-17 13:49:07 +13:00
parent 0f28a3d456
commit 472f046539

View File

@ -140,7 +140,7 @@ Options:
<available file="${basedir}/framework/" type="dir" /> <available file="${basedir}/framework/" type="dir" />
<then> <then>
<echo msg="Testing 'framework' module" /> <echo msg="Testing 'framework' module" />
<exec command="vendor/bin/behat @framework" checkreturn="true" passthru="true" /> <exec command="vendor/bin/behat --ansi @framework" checkreturn="true" passthru="true" />
</then> </then>
</if> </if>
@ -148,7 +148,7 @@ Options:
<available file="${basedir}/cms/" type="dir" /> <available file="${basedir}/cms/" type="dir" />
<then> <then>
<echo msg="Testing 'cms' module" /> <echo msg="Testing 'cms' module" />
<exec command="vendor/bin/behat @cms" checkreturn="true" passthru="true" /> <exec command="vendor/bin/behat --ansi @cms" checkreturn="true" passthru="true" />
</then> </then>
</if> </if>