Created
October 7, 2011 14:24
-
-
Save s4l1h/1270379 to your computer and use it in GitHub Desktop.
phpunit kurulumu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// sudo php install_phpunit.php | |
$komut=array(); | |
$komut[]="sudo pear upgrade"; | |
$komut[]="pear config-set auto_discover 1"; | |
$komut[]="pear install pear.phpunit.de/PHPUnit"; | |
foreach($komut as $k){ | |
echo passthru($k); | |
} | |
if(file_exists('/usr/bin/phpunit')){ | |
echo 'Kurulum Tamam'; | |
}else{ | |
echo 'Kurulum Başarısız'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment