-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
34 lines (25 loc) · 1018 Bytes
/
build.xml
File metadata and controls
34 lines (25 loc) · 1018 Bytes
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
<project name="md5hasher" default="xpi" basedir=".">
<property name="version" value="0.9.1"/> <!-- Configure the version here. The other files will be adapted. -->
<property name="src.dir" location="md5rehasher@phoneixs.es" />
<property name="dist.dir" location="dist" />
<property name="plugin" value="${ant.project.name}-${version}.xpi" />
<property name="dist.jar" location="${dist.dir}/${plugin}" />
<target name="clean">
<delete includeEmptyDirs="true" quiet="true" verbose="false">
<fileset dir="${dist.dir}" includes="**/*" />
</delete>
</target>
<target name="init" depends="clean">
<tstamp />
<mkdir dir="${dist.dir}"/>
</target>
<target name="configureVersion">
<echo message="Version: ${version}"/>
<!-- TODO .rdf: <em:version>0.9.1</em:version> -->
</target>
<target name="xpi" depends="init,configureVersion">
<zip destfile="${dist.dir}/${plugin}" update="false">
<zipfileset dir="${src.dir}"/>
</zip>
</target>
</project>