Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v3.2.2
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (31 sloc) 1.235 kb
<?xml version="1.0"?>
<project name="nightlytt" default="dev">
<!-- Directories -->
<property name="xpi.dir" value="./xpi"/>
<tstamp>
<format property="build.number" pattern="yyyyMMddHHmm"/>
</tstamp>
<target name="release" depends="version"
description="Builds a release version">
<property name="xpi.filename" value="${ant.project.name}-${build.version}.xpi" />
<antcall target="dev" />
</target>
<target name="dev" depends="clean, version"
description="Builds a development version">
<property name="xpi.filename" value="${ant.project.name}-${build.version}-${build.number}.xpi" />
<mkdir dir="${xpi.dir}" />
<zip destfile="${xpi.dir}/${xpi.filename}"
basedir="extension"
excludesfile=".gitignore"/>
</target>
<target name="clean"
description="Clean-up XPI directory">
<delete dir="${xpi.dir}"/>
</target>
<target name="version" unless="build.version"
description="Shows the current version">
<xmlproperty file="extension/install.rdf" collapseAttributes="true"/>
<property name="build.version" value="${RDF.Description.em:version}"/>
<echo>build.version: ${build.version}</echo>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.