Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: d97f1ee5da
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (35 sloc) 1.477 kB
<?xml version="1.0" ?>
<!-- Run ant in the extension's directory and look for: hellobootamd-0.5.1.xpi -->
<project name="hellobootamd" basedir="." default="build">
<!-- Properties -->
<property file="ant.properties"/>
<property name="build.dir" value="./release"/>
<property name="file-name" value="hellobootamd-${VERSION}${RELEASE}.xpi"/>
<!-- Clean -->
<target name="clean">
<delete dir="${build.dir}"/>
</target>
<!-- Build -->
<target name="build" depends="clean">
<!-- Copy files -->
<copy todir="${build.dir}">
<fileset dir=".">
<include name="**/*.js"/>
<include name="**/*.xul"/>
<include name="**/*.properties"/>
<include name="**/*.css"/>
<include name="**/*.manifest"/>
<include name="**/*.rdf"/>
<include name="**/*.txt"/>
</fileset>
</copy>
<!-- Copy install.rdf with updated release version info -->
<replace file="${build.dir}/install.rdf" propertyFile="ant.properties">
<replacefilter token="@VERSION@" property="VERSION"/>
<replacefilter token="@RELEASE@" property="RELEASE"/>
</replace>
<!-- Compress files (ZIP) -->
<zip destfile="${file-name}" basedir="${build.dir}" update="true" />
<echo message="HelloBootAMD version: ${VERSION}${RELEASE} created!"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.