Skip to content

Instantly share code, notes, and snippets.

@casimiroarruda
Last active December 16, 2015 13:59
Show Gist options
  • Save casimiroarruda/5445606 to your computer and use it in GitHub Desktop.
Save casimiroarruda/5445606 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project name="7masters-1" default="start">
<target name="start" depends="step-a,step-b,step-c"/>
<target name="step-a">
<echo msg="Este é o Projeto ${phing.project.name}"/>
</target>
<target name="step-b">
<echo msg="Nunca chegaremos ao Passo C :D"/>
<php expression="11/0" returnProperty="erro" level="error"/>
<fail if="erro" msg="Você está vendo esta pois há um erro"/>
<echo msg="você não verá essa mensagem" />
</target>
<target name="step-c">
<echo msg="O Phing parou a execução do build"/>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment