Created
October 8, 2011 03:17
-
-
Save sasezaki/1271797 to your computer and use it in GitHub Desktop.
sample pear channel by phix for github gh-pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project default="local-help"> | |
<target name="local-help"> | |
<echo message="This component has the following additional commands:" /> | |
<echo message=""/> | |
<echo message="git-tag" /> | |
<echo message=" Tag the current version in git" /> | |
<echo message="" /> | |
<echo message="git-force-tag" /> | |
<echo message=" Force tag the current version in git (use with caution!)" /> | |
<echo message="" /> | |
<echo message="pp" /> | |
<echo message=" Git push to upstream, publish to PEAR channel" /> | |
<echo message="" /> | |
<echo message="tpp - tag, publish, and push" /> | |
<echo message=" Git tag, push to upstream, publish to PEAR channel" /> | |
<echo message="" /> | |
</target> | |
<target name="git-tag"> | |
<exec command="cd ${pear.local} && git tag -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}" logoutput="true" checkreturn="true" /> | |
</target> | |
<target name="git-force-tag"> | |
<exec command="cd ${pear.local} && git tag -f -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}" logoutput="true" checkreturn="true" /> | |
</target> | |
<target name="pp" depends="publish-local"> | |
<exec command="cd ${pear.local} && git push --mirror" logoutput="true" checkreturn="true" /> | |
</target> | |
<target name="tpp" depends="git-force-tag, publish-local"> | |
<exec command="cd ${pear.local} && git push --mirror" logoutput="true" checkreturn="true" /> | |
</target> | |
</project> | |
<!-- vim: set tabstop=2 shiftwidth=2 expandtab: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project.name=Sex | |
project.channel=diggin.github.com/TestProject | |
project.majorVersion=0 | |
project.minorVersion=1 | |
project.patchLevel=11 | |
checkstyle.standard=Zend | |
component.type=php-library | |
component.version=8 | |
pear.local=TestProject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 | |
http://pear.php.net/dtd/tasks-1.0.xsd | |
http://pear.php.net/dtd/package-2.0 | |
http://pear.php.net/dtd/package-2.0.xsd"> | |
<name>${project.name}</name> | |
<channel>${project.channel}</channel> | |
<summary>Summary goes here</summary> | |
<description>Description goes here</description> | |
<lead> | |
<name>test</name> | |
<user>test</user> | |
<email>[email protected]</email> | |
<active>yes</active> | |
</lead> | |
<date>${build.date}</date> | |
<time>${build.time}</time> | |
<version> | |
<release>${project.majorVersion}.${project.minorVersion}.${project.patchLevel}</release> | |
<api>${project.majorVersion}.${project.minorVersion}</api> | |
</version> | |
<stability> | |
<release>stable</release> | |
<api>stable</api> | |
</stability> | |
<license>All rights reserved.</license> | |
<notes> | |
No notes. | |
</notes> | |
<contents> | |
<dir baseinstalldir="/" name="/"> | |
${contents} | |
</dir> | |
</contents> | |
<dependencies> | |
<required> | |
<php> | |
<min>5.3.0</min> | |
</php> | |
<pearinstaller> | |
<min>1.4.6</min> | |
</pearinstaller> | |
</required> | |
</dependencies> | |
<phprelease /> | |
<!--<changelog> | |
<release> | |
<version> | |
<release>X.Y.Z</release> | |
<api>X.Y</api> | |
</version> | |
<stability> | |
<release>stable</release> | |
<api>stable</api> | |
</stability> | |
<date> | |
<license>All rights reserved</license> | |
<notes> | |
</notes> | |
</release> | |
</changelog>--> | |
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<server> | |
<name>diggin.github.com/TestProject</name> | |
<summary>Phix Sample PEAR channel</summary> | |
<alias>TestProject</alias> | |
<url>http://diggin.github.com/TestProject</url> | |
</server> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment