Created
October 3, 2012 17:58
-
-
Save reubano/3828627 to your computer and use it in GitHub Desktop.
script for packaging php projects for PEAR
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
cd path/to/project | |
# create package.xml | |
pear package-validate | |
pear package | |
cp *.tgz path/to/pear/repo | |
cd path/to/pear/repo | |
pirum add . [filename].tgz | |
git add -A | |
git commit -m 'Add new package' | |
git push origin gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to Make a pear channel
Create a new repository on GitHub called pear
Set up your local environment
Install Pirum
Create a pirum configuration file
pirum.xml
at the root of your pear repositoryBuild and push
Your PEAR channel server is now available (after maybe 15 minutes) under [username].github.com/pear. Test it out!