mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Adding hirak/prestissimo to darwin and linux
This commit is contained in:
parent
339c69c9a5
commit
c5825452ec
@ -12,5 +12,6 @@ sudo chmod 777 $ini_file
|
||||
curl -sS https://getcomposer.org/installer | php
|
||||
chmod +x composer.phar
|
||||
mv composer.phar /usr/local/bin/composer
|
||||
composer global require hirak/prestissimo
|
||||
php -v
|
||||
composer -V
|
@ -17,6 +17,7 @@ if [ ! -e "/usr/bin/composer" ]; then
|
||||
sudo curl -s https://getcomposer.org/installer | php;
|
||||
sudo mv composer.phar /usr/local/bin/composer;
|
||||
fi
|
||||
composer global require hirak/prestissimo
|
||||
ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
|
||||
sudo chmod 777 $ini_file
|
||||
php -v
|
||||
|
Loading…
Reference in New Issue
Block a user