[Pkg-owncloud-commits] [php-sabredav] 24/163: See if we can build a phar. (WIP)
David Prévot
taffit at moszumanska.debian.org
Tue May 20 18:54:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag upstream/2.0.0_beta1
in repository php-sabredav.
commit 00339483ced14c21be91b39fc56ce38815355e6b
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Tue Mar 25 11:46:51 2014 -0400
See if we can build a phar. (WIP)
---
.travis.yml | 1 +
build.xml | 18 +++++++++++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 0e48fbc..344befe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,7 @@ php:
- hhvm
matrix:
+ fast_finish: true
allow_failures:
- php: hhvm
diff --git a/build.xml b/build.xml
index ded45a2..abbaed2 100644
--- a/build.xml
+++ b/build.xml
@@ -16,10 +16,26 @@
<zip destfile="build/SabreDAV-${sabredav.version}.zip" basedir="build/SabreDAV" prefix="SabreDAV/" />
</target>
+ <target name="buildphar" depends="init, test, clean">
+ <pharpackage
+ destfile="build/SabreDAV-${sabredav.version}.phar"
+ basedir="./build/SabreDAV/"
+ clistub="bin/sabredav"
+ webstub="examples/fileserver.php"
+ >
+ <fileset dir="build/SabreDAV">
+ <include name="**/**" />
+ </fileset>
+ <metadata>
+ <element name="version" value="${sabredav.version}" />
+ </metadata>
+ </pharpackage>
+ </target>
+
<target name="clean" depends="init">
<echo msg="Removing build files (cleaning up distribution)" />
<delete dir="docs/api" />
- <delete dir="build" />
+ <delete dir="build/SabreDAV" />
</target>
<target name="markrelease" depends="init,clean,test">
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list