Skip to content

Instantly share code, notes, and snippets.

@mattijs
Created August 12, 2010 20:04
Show Gist options
  • Save mattijs/521622 to your computer and use it in GitHub Desktop.
Save mattijs/521622 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Quick script for discovering and installing PHPUnit
# For real speed use the following command:
# wget http://gist.github.com/raw/521622/e5eb07769f21bef858ec062dd43bd4686021e8ca/phpunit_install.sh -O - | sh
echo "This will install PHPUnit on your machine"
echo ""
echo "+ Discovering pear channels for PHPUnit"
echo "====================================="
pear channel-discover pear.phpunit.de
pear channel-discover pear.symfony-project.com
echo ""
echo "+ Installing PHPunit"
echo "====================================="
pear install phpunit/PHPUnit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment