mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +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
|
curl -sS https://getcomposer.org/installer | php
|
||||||
chmod +x composer.phar
|
chmod +x composer.phar
|
||||||
mv composer.phar /usr/local/bin/composer
|
mv composer.phar /usr/local/bin/composer
|
||||||
|
composer global require hirak/prestissimo
|
||||||
php -v
|
php -v
|
||||||
composer -V
|
composer -V
|
@ -17,6 +17,7 @@ if [ ! -e "/usr/bin/composer" ]; then
|
|||||||
sudo curl -s https://getcomposer.org/installer | php;
|
sudo curl -s https://getcomposer.org/installer | php;
|
||||||
sudo mv composer.phar /usr/local/bin/composer;
|
sudo mv composer.phar /usr/local/bin/composer;
|
||||||
fi
|
fi
|
||||||
|
composer global require hirak/prestissimo
|
||||||
ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
|
ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
|
||||||
sudo chmod 777 $ini_file
|
sudo chmod 777 $ini_file
|
||||||
php -v
|
php -v
|
||||||
|
Loading…
Reference in New Issue
Block a user