1 <project name="zk" default="test">
3 <condition property="grails" value="grails.bat">
6 <property name="grails" value="grails" />
8 <!-- =================================
10 ================================= -->
11 <target name="clean" description="--> Cleans a Grails application">
12 <exec executable="${grails}" failonerror="true">
17 <!-- =================================
19 ================================= -->
20 <target name="war" description="--> Creates a WAR of a Grails application">
21 <exec executable="${grails}" failonerror="true">
26 <!-- =================================
28 ================================= -->
29 <target name="test" description="--> Run a Grails applications unit tests">
30 <exec executable="${grails}" failonerror="true">
31 <arg value="test-app"/>
35 <!-- =================================
37 ================================= -->
38 <target name="deploy" depends="war" description="--> The deploy target (initially empty)">