Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

81 lines (70 sloc) 2.169 kB
<project name="HaxePunk" default="all" basedir=".">
<description>Builds the haxepunk project</description>
<target name="tools">
<exec executable="haxe" dir="tools">
<arg line="build.hxml" />
</exec>
</target>
<target name="haxelib" depends="tools">
<zip destfile="template.zip" useLanguageEncodingFlag="UTF-8" basedir="template" />
<zip destfile="haxepunk.zip" useLanguageEncodingFlag="UTF-8">
<zipfileset dir="" prefix="haxepunk" includes="run.n,haxelib.json,include.xml,template.zip,CHANGELOG,LICENSE" />
<zipfileset dir="com" prefix="haxepunk/com" />
<zipfileset dir="assets" prefix="haxepunk/assets" />
</zip>
<exec executable="haxelib" dir=".">
<arg line="local haxepunk.zip" />
</exec>
</target>
<target name="unit" depends="haxelib">
<exec executable="haxe" dir="tests">
<arg line="compile.hxml" />
</exec>
<exec executable="neko" dir="tests">
<arg line="unit.n" />
</exec>
</target>
<target name="unit-travis" depends="haxelib">
<exec executable="sh" dir="tests">
<arg line="travis.sh" />
</exec>
</target>
<target name="build" depends="haxelib">
<exec executable="haxelib" dir=".">
<arg line="run HaxePunk new build-test" />
</exec>
<exec executable="lime" dir="build-test">
<arg line="build project.xml" />
<arg line="flash" />
</exec>
<exec executable="lime" dir="build-test">
<arg line="build project.xml" />
<arg line="neko" />
</exec>
<exec executable="lime" dir="build-test">
<arg line="build project.xml" />
<arg line="html5" />
</exec>
</target>
<target name="examples" depends="haxelib">
<exec executable="lime" dir="examples">
<arg line="test project.xml" />
<arg line="neko -debug" />
</exec>
</target>
<target name="doc">
<exec executable="haxe" dir="doc">
<arg line="doc.hxml" />
</exec>
<exec executable="haxedoc" dir="doc">
<arg line="haxedoc.xml" />
</exec>
</target>
<target name="clean">
<delete quiet="true">
<fileset dir="Example" />
<fileset dir="." includes="*.n,*.zip,com.haxepunk.debug.swf" />
</delete>
</target>
<target name="all" depends="clean, build, examples, unit" />
</project>
Jump to Line
Something went wrong with that request. Please try again.