-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
41 lines (33 loc) · 1.53 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Finesse" default="default" basedir=".">
<description>Builds, tests, and runs the project Finesse.</description>
<import file="nbproject/build-impl.xml"/>
<target name="-post-jar">
<echo>Copying resources files to build directory...</echo>
<mkdir dir="${dist.jar.dir}/res"/>
<copy todir="${dist.jar.dir}/res">
<fileset dir="res" includes="**"/>
</copy>
<echo>Creating replay folder</echo>
<mkdir dir="${dist.jar.dir}/rep"/>
<echo>Copying sample replays</echo>
<copy todir="${dist.jar.dir}/rep">
<fileset dir="rep" includes="**"/>
</copy>
<echo>Copying libs</echo>
<copy todir="${dist.jar.dir}/lib">
<fileset dir="lib" includes="**"/>
</copy>
<echo>Copy our readme</echo>
<delete file="${dist.jar.dir}/README.TXT"/>
<copy file="README.txt" tofile="${dist.jar.dir}/README.txt"/>
</target>
</project>