- <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
- <target name="FetchLocales">
+
+ <target name="native">
+ <exec executable="make" dir="natives"/>
+ </target>
+
+ <target depends="build" name="pack">
+ <jar destfile="gigi.jar" basedir="bin" manifest="Gigi.MF"/>
+ </target>
+
+ <target depends="test,native" name="bundle">
+ <zip destfile="gigi-linux_amd64.zip" basedir="." includes="gigi.jar,native/*.so,doc/tableStructure.sql,static/**,templates/**"/>
+ </target>
+ <target name="static-bundle">
+ <tar destfile="static.tar.gz" compression="gzip" basedir="." includes="doc/tableStructure.sql,static/**,templates/**"/>
+ </target>
+
+ <target name="all" depends="bundle,static-bundle"/>
+
+
+ <target depends="init,build-project" name="build-project-test">
+ <echo message="${ant.project.name}: ${ant.file}"/>
+ <javac debug="true" debuglevel="${debuglevel}" destdir="bintest" includeantruntime="false" source="${source}" target="${target}">
+ <src path="tests"/>
+ <classpath refid="cacert-gigi.test.classpath"/>
+ </javac>
+ </target>
+ <target name="FetchLocales">