Created
October 4, 2011 02:14
-
-
Save saltybeagle/1260758 to your computer and use it in GitHub Desktop.
Self-contained PHPUnit with Pyrus
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
mkdir phpunit | |
cd phpunit | |
pyrus `pwd` set bin_dir `pwd`/bin | |
pyrus `pwd` install http://components.ez.no/get/ConsoleTools-1.6.1.tgz http://components.ez.no/get/Base-1.8.tgz pear.phpunit.de/PHPUnit | |
To set the include_path, replace the first line of bin/phpunit with: | |
#!/usr/bin/php -d include_path=/path/to/phpunit/php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment