Verified Commit e3616698 authored by R's avatar R
Browse files

Add build.xml

parent 4ab07459
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="pmplus" default="build">
<scriptdef language="javascript" name="lower">
<attribute name="string" />
<attribute name="to" />
project.setProperty( attributes.get( "to" ),
attributes.get( "string" ).toLowerCase() );
<property name="" value="bin" />
<property name="" value="${}/build" />
<property name="" value="src" />
<xmlproperty file="${}/install.rdf" keeproot="false"/>
<lower string="${Description(em:name)}" to="lower"/>
<property name="outputfile" value="${lower}-${Description(em:version)}.xpi"/>
<target name="build" depends="clean">
<echo message="Building ${outputfile}"/>
<mkdir dir="${}"/>
<copy todir="${}">
<fileset dir="${}">
<exclude name="Makefile"/>
<fileset file="LICENSE" />
<zip destfile="${}/${outputfile}" update="true">
<fileset dir="${}">
<delete dir="${}" failonerror="true"/>
<target name="clean">
<echo message="Removing old ${outputfile}"/>
<fileset dir="${}">
<include name="${outputfile}"/>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment