1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project name="DMDirc-installer" default="default" basedir=".">
- <description>Tasks to build the DMDirc installer.</description>
-
- <target name="installer"
- description="Build the installer.">
- <exec executable="bash" dir="installer" resultproperty="installer.result">
- <arg value="release.sh"/>
- <arg value="this"/>
- </exec>
-
- <condition property="installer.success">
- <equals arg1="${installer.result}" arg2="0" />
- </condition>
-
- <echo message="Installer build finished."/>
- <echo message="Completed build files can be found in:"/>
- <echo message=" ${installer.output.dir}"/>
- <echo message=""/>
- </target>
-
- <target name="installer-stable"
- description="Build the installer for a stable release.">
- <exec executable="bash" dir="installer" resultproperty="installer.result">
- <arg value="release.sh"/>
- <arg value="-t"/>
- <arg value="-c"/>
- <arg value="STABLE"/>
- <arg value="--upload"/>
- </exec>
-
- <condition property="installer.success">
- <equals arg1="${installer.result}" arg2="0" />
- </condition>
-
- <echo message="Installer build finished."/>
- <echo message="Completed build files can be found in:"/>
- <echo message=" ${installer.output.dir}"/>
- <echo message=""/>
- </target>
-
- <target name="installer-unstable"
- description="Build the installer for an unstable release.">
- <exec executable="bash" dir="installer" resultproperty="installer.result">
- <arg value="release.sh"/>
- <arg value="-t"/>
- <arg value="-c"/>
- <arg value="UNSTABLE"/>
- </exec>
-
- <condition property="installer.success">
- <equals arg1="${installer.result}" arg2="0" />
- </condition>
-
- <echo message="Installer build finished."/>
- <echo message="Completed build files can be found in:"/>
- <echo message=" ${installer.output.dir}"/>
- <echo message=""/>
- </target>
-
-
- </project>
|