svn: /pear/ci/phpuc/trunk/ INSTALL.txt NormalUnitTests.php
| From: | Daniel O'Connor | Date: | Mon, 20 Sep 2010 12:34:44 +0000 |
| Subject: | svn: /pear/ci/phpuc/trunk/ INSTALL.txt NormalUnitTests.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-60389@lists.php.net to get a copy of this message | ||
clockwerx Mon, 20 Sep 2010 12:34:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303621
Log:
Added more steps to build process (generate changelog, faux package.xml)
Changed paths:
U pear/ci/phpuc/trunk/INSTALL.txt
U pear/ci/phpuc/trunk/NormalUnitTests.php
Modified: pear/ci/phpuc/trunk/INSTALL.txt
===================================================================
--- pear/ci/phpuc/trunk/INSTALL.txt 2010-09-20 12:21:26 UTC (rev 303620)
+++ pear/ci/phpuc/trunk/INSTALL.txt 2010-09-20 12:34:44 UTC (rev 303621)
@@ -57,3 +57,6 @@
# Fire up cruisecontrol
cd ~/cruisecontrol
./cruisecontrol.sh
+
+# Make sure you have PFM installed
+pear install PEAR_PackageFileManager
Modified: pear/ci/phpuc/trunk/NormalUnitTests.php
===================================================================
--- pear/ci/phpuc/trunk/NormalUnitTests.php 2010-09-20 12:21:26 UTC (rev 303620)
+++ pear/ci/phpuc/trunk/NormalUnitTests.php 2010-09-20 12:34:44 UTC (rev 303621)
@@ -44,9 +44,18 @@
<?php if ($p->pyrus) { ?>
<target name="package">
+ <!-- Todo: refactor this, not everyone lives in /home/clockwerx -->
+ <exec executable="php" dir="${basedir}">
+ <arg line="/home/clockwerx/phpuc/make-package.php ${basedir}" />
+ </exec>
+
<exec executable="php" dir="${basedir}"
failonerror="on">
<arg line="<?php print $p->pyrus ?> package -o <?php print
$p->cruisecontrol; ?>/projects/<?php print $p->package;
?>/build/package/trunk.tar.gz" />
</exec>
+
+ <exec executable="svn" dir="${basedir}">
+ <arg line="revert package.xml" />
+ </exec>
</target>
<?php } ?>