Mercurial > hg > pub > prymula > com
view flappyufo/build.xml @ 17:e9c503d896a6
flappyufo-0.230919-1_add_pkgbuild
author | Przemyslaw <prymula76@outlook.com> |
---|---|
date | Sat, 24 Feb 2024 17:47:35 +0100 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
<project> <target name="clean"> <delete dir="build"/> </target> <target name="compile"> <mkdir dir="build/classes"/> <javac srcdir="src" destdir="build/classes"/> <fileset file="res/clouds.png" /> <fileset file="res/start.png" /> <fileset file="res/pipered.png" /> <fileset file="res/nextlevel.png" /> <fileset file="res/ufo-small.png" /> <fileset file="res/gameover.png" /> <fileset file="res/about.png" /> <fileset file="res/0.png" /> <fileset file="res/1.png" /> <fileset file="res/2.png" /> <fileset file="res/3.png" /> <fileset file="res/4.png" /> <fileset file="res/5.png" /> <fileset file="res/6.png" /> <fileset file="res/7.png" /> <fileset file="res/8.png" /> <fileset file="res/9.png" /> <fileset file="res/die.wav" /> <fileset file="res/point.wav" /> <fileset file="res/hit.wav" /> <fileset file="res/swoosh.wav" /> <fileset file="res/flappyufo.png" /> </target> <target name="jar"> <mkdir dir="build/jar"/> <jar destfile="build/jar/FlappyUfo.jar" basedir="build/classes"> <fileset file="res/clouds.png" /> <fileset file="res/start.png" /> <fileset file="res/pipered.png" /> <fileset file="res/nextlevel.png" /> <fileset file="res/ufo-small.png" /> <fileset file="res/gameover.png" /> <fileset file="res/about.png" /> <fileset file="res/0.png" /> <fileset file="res/1.png" /> <fileset file="res/2.png" /> <fileset file="res/3.png" /> <fileset file="res/4.png" /> <fileset file="res/5.png" /> <fileset file="res/6.png" /> <fileset file="res/7.png" /> <fileset file="res/8.png" /> <fileset file="res/9.png" /> <fileset file="res/die.wav" /> <fileset file="res/point.wav" /> <fileset file="res/hit.wav" /> <fileset file="res/swoosh.wav" /> <fileset file="res/flappyufo.png" /> <manifest> <attribute name="Main-Class" value="flappyufo.FlappyUfo"/> </manifest> </jar> </target> <target name="run"> <java jar="build/jar/FlappyUfo.jar" fork="true"/> </target> </project>