phar generation task

Conflicts:
	build.xml
This commit is contained in:
Christian Weiske 2011-08-10 07:47:58 +02:00
parent c57960623b
commit 72db833930

View File

@ -22,8 +22,10 @@
" />
<property name="zipfile" value="${phing.project.name}-${version}.zip" />
<property name="pkgfile" value="${phing.project.name}-${version}.tgz" />
<property name="pharfile" value="${phing.project.name}-${version}.phar" />
<property name="distfile" value="dist/${zipfile}" />
<property name="distpkgfile" value="dist/pear/${pkgfile}" />
<property name="pharfilepath" value="dist/${pharfile}" />
<property name="sfproject" value="SemanticScuttle" />
<property name="sffilepath" value="s/se/semanticscuttle/" />
<property name="svnpath" value="https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/" />
@ -305,6 +307,30 @@
</target>
<target name="phar" depends="check"
description="Create .phar file for release"
>
<echo msg="Creating .phar for SemanticScuttle ${version}"/>
<pharpackage basedir="." destfile="${pharfilepath}"
alias="sc.phar"
webstub="www/index.php"
clistub="www/index.php"
>
<metadata>
<element name="version" value="${version}" />
<element name="authors">
<element name="Christian Weiske">
<element name="e-mail" value="cweiske@cweiske.de" />
</element>
</element>
</metadata>
<fileset refid="fs.zip"/>
</pharpackage>
</target>
<target name="build-docs" description="render documentation">
<rST format="html" uptodate="true"
toolparam="--stylesheet=res/docs/style.css"