Last active
August 29, 2015 13:59
-
-
Save pgodel/10742902 to your computer and use it in GitHub Desktop.
test to install symfony deps using PHP and HHVM
This file contains hidden or 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
#!/bin/bash | |
# Instructions | |
# run: php composer.phar create-project symfony/framework-standard-edition test 2.4.3 --no-scripts | |
# cd test and download and run this script | |
if [ ! -f composer.phar ]; then | |
curl -sS https://getcomposer.org/installer | php | |
fi | |
echo Deleting vendor... | |
rm -rf vendor | |
echo PHP test | |
time php composer.phar install --prefer-dist --no-scripts | |
echo Deleting vendor... | |
rm -rf vendor | |
echo HHVM test | |
time hhvm composer.phar install --prefer-dist --no-scripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hack vs PHP (Computer Language Benchmarks Game):
http://benchmarksgame.alioth.debian.org/u64q/hack.html