forked from bhollis/jsonview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
27 lines (25 loc) · 1.05 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
<?xml version="1.0"?>
<project name="jsonview" default="createxpi">
<property name="build.version" value="0.7"/>
<property name="xpi.name" value="${ant.project.name}-${build.version}.xpi"/>
<property name="xpi-babelzilla.name" value="${ant.project.name}-${build.version}-babelzilla.xpi"/>
<target name="createxpi">
<delete file="${xpi.name}"/>
<zip destfile="${xpi.name}">
<zipfileset dir="src">
<!-- these locales are only for BabelZilla, and should not be included in release versions -->
<exclude name="**/amo-descriptions.properties" />
<exclude name="**/description.properties" />
</zipfileset>
</zip>
<echo message="Remember to bump the version number in build.xml and install.rdf!" />
</target>
<!-- Create an XPI for BabelZilla that contains extra strings for translation. Do not release this! -->
<target name="babelzilla">
<delete file="${xpi-babelzilla.name}"/>
<zip destfile="${xpi-babelzilla.name}">
<zipfileset dir="src">
</zipfileset>
</zip>
</target>
</project>