Skip to content

Instantly share code, notes, and snippets.

@saltybeagle
Created October 4, 2011 02:14
Show Gist options
  • Save saltybeagle/1260758 to your computer and use it in GitHub Desktop.
Save saltybeagle/1260758 to your computer and use it in GitHub Desktop.
Self-contained PHPUnit with Pyrus
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