Configure brew on linux on grpc_php_plugin setup

This commit is contained in:
Shivam Mathur 2022-10-24 09:25:14 +05:30
parent e8836c6d46
commit 98e3af0bff
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -22,6 +22,8 @@ get_grpc_tag() {
} }
add_grpc_php_plugin_brew() { add_grpc_php_plugin_brew() {
. "${0%/*}"/tools/brew.sh
configure_brew
brew install grpc brew install grpc
brew link --force --overwrite grpc >/dev/null 2>&1 brew link --force --overwrite grpc >/dev/null 2>&1
grpc_tag="v$(brew info grpc | grep "grpc:" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")" grpc_tag="v$(brew info grpc | grep "grpc:" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")"