mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-12 00:24:41 +07:00
init
This commit is contained in:
9
src/darwin.sh
Normal file
9
src/darwin.sh
Normal file
@ -0,0 +1,9 @@
|
||||
echo $1
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
brew unlink php
|
||||
brew tap exolnet/homebrew-deprecated
|
||||
brew install php@$1
|
||||
brew link --force --overwrite php@$1
|
||||
brew install composer
|
||||
php -v
|
||||
composer -V
|
Reference in New Issue
Block a user