Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <project name="haiti_earthquake" default="dist">
|
---|
3 |
|
---|
4 | <target name="clean">
|
---|
5 | <delete dir="${basedir}/build"/>
|
---|
6 | </target>
|
---|
7 |
|
---|
8 | <target name="assemble">
|
---|
9 | <mkdir dir="${basedir}/build"/>
|
---|
10 | <mkdir dir="${basedir}/build/presets"/>
|
---|
11 | <mkdir dir="${basedir}/build/presets/earthquake"/>
|
---|
12 | <copy todir="${basedir}/build/presets/earthquake">
|
---|
13 | <fileset dir="${basedir}/presets">
|
---|
14 | <include name="**/*.xml"/>
|
---|
15 | <include name="**/*.png"/>
|
---|
16 | </fileset>
|
---|
17 | </copy>
|
---|
18 |
|
---|
19 | <copy file="README.txt" todir="${basedir}/build/presets/earthquake"/>
|
---|
20 | <copy file="CHANGELOG.txt" todir="${basedir}/build/presets/earthquake"/>
|
---|
21 | </target>
|
---|
22 |
|
---|
23 | <target name="make-distrib">
|
---|
24 | <zip destfile="${basedir}/dist/haiti-earthquake-josm-presets.zip">
|
---|
25 | <fileset dir="${basedir}/build">
|
---|
26 | <include name="**/*"/>
|
---|
27 | </fileset>
|
---|
28 | </zip>
|
---|
29 | <tar destfile="${basedir}/dist/haiti-earthquake-josm-presets.tar">
|
---|
30 | <fileset dir="${basedir}/build">
|
---|
31 | <include name="**/*"/>
|
---|
32 | </fileset>
|
---|
33 | </tar>
|
---|
34 | </target>
|
---|
35 |
|
---|
36 | <target name="dist" depends="clean,assemble,make-distrib">
|
---|
37 | </target>
|
---|
38 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.