Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (46 sloc) 1.603 kb
<project name="libgdx-postprocessing" default="all" basedir=".">
<!-- version -->
<property name="version" value="${package.version}" />
<!-- props -->
<property name="api.dir" value="." />
<property name="api.name" value="postprocessing" />
<!-- TASKS -->
<!-- clean -->
<target name="clean">
<delete includeEmptyDirs="true"><fileset dir="${api.dir}" includes="bin/, release/"/></delete>
</target>
<!-- init -->
<target name="init" depends="clean">
<mkdir dir="${api.dir}/bin/" />
<mkdir dir="${api.dir}/release/" />
</target>
<!-- compile -->
<target name="compile" depends="init">
<javac target="1.6" source="1.6" debug="on" srcdir="${api.dir}/src/" destdir="${api.dir}/bin/">
<src path="../utils/src/main/java/" />
<classpath>
<fileset dir="/home/tsagrista/git/libgdx/gdx">
<include name="gdx.jar" />
</fileset>
</classpath>
</javac>
</target>
<!-- package -->
<target name="package" depends="compile">
<!-- api -->
<jar destfile="${api.dir}/release/${api.name}.jar" basedir="${api.dir}/bin" />
<jar destfile="${api.dir}/release/${api.name}-sources.jar" basedir="${api.dir}/src/main/java">
<fileset dir="../utils/src/" />
</jar>
</target>
<!-- zip -->
<target name="zip" depends="package">
<zip destfile="release/${api.name}-${version}.zip">
<fileset dir="release/${api.dir}" includes="*.jar"/>
<zipfileset dir="${api.dir}/src/main/resources/shaders" prefix="shaders"/>
</zip>
<delete><fileset dir="release/" includes="*.jar" /></delete>
</target>
<!-- all -->
<target name="all" depends="package" />
</project>
Jump to Line
Something went wrong with that request. Please try again.