Adding hirak/prestissimo to darwin and linux

This commit is contained in:
George Boot 2019-09-18 15:23:30 +02:00 committed by Shivam Mathur
parent 339c69c9a5
commit c5825452ec
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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