Skip to content

Instantly share code, notes, and snippets.

View okomeworld's full-sized avatar

Kawakatsu Toshiyuki okomeworld

View GitHub Profile
@okomeworld
okomeworld / compile_PHPUnit-3.5.15.sh
Created November 19, 2012 06:48 — 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