зеркало из https://github.com/mozilla/pjs.git
Add extension packaging code
This commit is contained in:
Родитель
ca3612396c
Коммит
a42a770e26
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
build.xml adapted from Shawn Wilsher's rtse
|
||||
(http://shawnwilsher.com/extensions/rtse/)
|
||||
-->
|
||||
|
||||
|
||||
<project name="qa" default="createxpi">
|
||||
<tstamp>
|
||||
<format property="build.number" pattern="yyyyMMdd" offset="-1" unit="hour"/>
|
||||
</tstamp>
|
||||
<property name="build.version" value="0.1.${build.number}"/>
|
||||
<target name="createxpi" depends="createjar">
|
||||
<zip destfile="qa.xpi">
|
||||
<zipfileset dir="" includes="chrome/qa.jar"/>
|
||||
<zipfileset dir="" includes="chatzilla.jar"/>
|
||||
<zipfileset dir="" includes="install.rdf"/>
|
||||
<zipfileset dir="" includes="jar-chrome.manifest" fullpath="chrome.manifest"/>
|
||||
<zipfileset dir="" includes="README" />
|
||||
<zipfileset dir="" includes="defaults/**" excludes="**CVS"/>
|
||||
<zipfileset dir="" includes="components/chatzilla-service.js" />
|
||||
</zip>
|
||||
</target>
|
||||
<target name="createjar">
|
||||
<zip destfile="chrome/qa.jar">
|
||||
<zipfileset dir="chrome" includes="content/**" excludes="**CVS"/>
|
||||
<zipfileset dir="chrome" includes="skin/**" excludes="**CVS"/>
|
||||
<zipfileset dir="chrome" includes="locale/**" excludes="**CVS"/>
|
||||
</zip>
|
||||
</target>
|
||||
</project>
|
|
@ -0,0 +1,10 @@
|
|||
content qa jar:chrome/qa.jar!/content/
|
||||
skin qa classic/1.0 jar:chrome/qa.jar!/skin/
|
||||
locale qa en-US jar:chrome/qa.jar!/locale/en-US/
|
||||
|
||||
overlay chrome://browser/content/browser.xul chrome://qa/content/browserOverlays.xul
|
||||
|
||||
content chatzilla_qa jar:chatzilla.jar!/content/chatzilla/
|
||||
skin chatzilla_qa modern/1.0 jar:chatzilla.jar!/skin/modern/chatzilla/
|
||||
locale chatzilla_qa en-US jar:chatzilla.jar!/locale/en-US/chatzilla/
|
||||
content chatzillaservice_qa components/chatzilla-service.js
|
Загрузка…
Ссылка в новой задаче