Merge pull request #17 from georgeboot/develop

Adding hirak/prestissimo to darwin and linux
This commit is contained in:
Shivam Mathur 2019-09-18 18:59:31 +05:30 committed by GitHub
commit c63ef0c92d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 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

View File

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