Skip to content

Instantly share code, notes, and snippets.

View arjenroodselaar's full-sized avatar

Arjen Roodselaar arjenroodselaar

View GitHub Profile
@arjenroodselaar
arjenroodselaar / compile_PHPUnit-3.5.15.sh
Created November 2, 2011 18:57 — forked from markomarkovic/compile_PHPUnit-3.5.15.sh
A script to compile PHPUnit-3.5.15 with all dependencies into archive which can be extracted to CakePHP 2.0 Vendor directory in order to UnitTest cake (if you don't have access to PEAR commands or PEAR insists on installing PHPUnit-3.6.0 and not working).
#!/bin/sh
# Creating temp dirs
mkdir .compile_PHPUnit_$$
cd .compile_PHPUnit_$$
# Fetching the archives
wget -nv http://pear.phpunit.de/get/PHPUnit-3.5.15.tgz
wget -nv http://pear.phpunit.de/get/DbUnit-1.0.0.tgz
wget -nv http://pear.phpunit.de/get/File_Iterator-1.2.3.tgz