[Pkg-mozext-commits] [compactheader] 01/441: Add first version of addon.

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository compactheader.

commit 230c0c79d2dcf3dcf15ec3cbe7bae92755cdf5ea
Author: joachim.herb <none at none>
Date:   Thu Aug 6 19:02:10 2009 +0000

    Add first version of addon.
---
 build.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..cc88b44
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" ?>
+
+<project name="getpartialmessages" default="dist">
+	<property name="src.dir" value="." />
+	<property name="dist.dir" value="dist" />
+	<property name="app.name" value="CompactHeader" />
+	<property name="app.id" value="${app.name}" /> <!-- extension id like: xxx at xxx.com -->
+	<property name="ff.dir" value="C:\Users\joachim\comm-central\objdir-tb-release\mozilla\dist\bin" />
+
+	<condition property="ff.present">
+		<and>
+			<isset property="ff.dir" />
+			<available file="${ff.dir}" type="dir" />
+		</and>
+	</condition>
+ 
+	<!-- copy to extensions directory -->
+	<!--
+	<target name="test.ext" depends="chrome" if="ff.present">
+		<copy file="${dist.dir}/${app.name}.jar" todir="${ff.dir}/extensions/${app.id}/chrome" overwrite="true" />
+		<copy file="${src.dir}/chrome.manifest" todir="${ff.dir}/extensions/${app.id}" overwrite="true" />
+	</target>
+	-->
+	
+	<target name="dist">
+		<zip destfile="${dist.dir}/${app.name}.xpi">
+			<fileset dir="${src.dir}">
+				<include name="chrome.manifest" />
+				<include name="install.rdf" />
+				<include name="defaults/**" />
+				<include name="chrome/**" />				
+				<exclude name="**/.*" />
+				<exclude name="**/CVS/**" />
+			</fileset>
+		</zip>
+	</target>
+	
+	<target name="clean">
+		<delete dir="${dist.dir}" />
+	</target>
+
+	<target name="clean.ff"  if="ff.present">
+		<delete dir="${ff.dir}/extensions/${app.id}" failonerror="false" />
+		<delete file="${ff.dir}/chrome/${app.name}.manifest" failonerror="false" />
+		<delete file="${ff.dir}/chrome/chrome/${app.name}.jar" failonerror="false" />
+	</target>
+
+</project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git



More information about the Pkg-mozext-commits mailing list