install_dependencies.sh 630 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # To install DbUnit, we have to install everything
  3. pear channel-discover pear.phpunit.de
  4. pear channel-discover pear.symfony-project.com
  5. pear update-channels
  6. # remove any existing phpunit packages
  7. pear uninstall -n pear.phpunit.de/PHPUnit
  8. pear uninstall -n pear.phpunit.de/PHP_CodeCoverage
  9. pear uninstall -n pear.phpunit.de/PHPUnit_MockObject
  10. pear uninstall -n pear.phpunit.de/File_Iterator
  11. pear uninstall -n pear.phpunit.de/Text_Template
  12. pear uninstall -n pear.phpunit.de/PHP_Timer
  13. pear uninstall -n pear.symfony-project.com/YAML
  14. # Install
  15. pear install -o pear.phpunit.de/PHPUnit
  16. pear install pear.phpunit.de/DbUnit