mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-03-17 14:22:22 +07:00
Release v2-verbose
This commit is contained in:
@@ -26,7 +26,7 @@ add_grpc_php_plugin_brew() {
|
||||
configure_brew
|
||||
[ -e /usr/local/bin/protoc ] && sudo mv /usr/local/bin/protoc /tmp/protoc && sudo mv /usr/local/include/google /tmp
|
||||
safe_brew install grpc
|
||||
brew link --force --overwrite grpc >/dev/null 2>&1
|
||||
brew link --force --overwrite grpc
|
||||
[ -e /tmp/protoc ] && sudo mv /tmp/protoc /usr/local/bin/protoc && sudo mv /tmp/google /usr/local/include/
|
||||
grpc_tag="v$(brew info grpc | grep "grpc:" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")"
|
||||
license_path="$(brew --prefix grpc)/LICENSE"
|
||||
@@ -50,9 +50,9 @@ add_grpc_php_plugin() {
|
||||
grpc_tag=$1
|
||||
license_path=""
|
||||
if [ "$grpc_tag" = "latest" ]; then
|
||||
add_grpc_php_plugin_brew >/dev/null 2>&1
|
||||
add_grpc_php_plugin_brew
|
||||
else
|
||||
add_grpc_php_plugin_compile >/dev/null 2>&1
|
||||
add_grpc_php_plugin_compile
|
||||
fi
|
||||
set_output grpc_php_plugin_path "$(command -v grpc_php_plugin)"
|
||||
add_log "${tick:?}" "grpc_php_plugin" "Added grpc_php_plugin ${grpc_tag:1}"
|
||||
|
||||
Reference in New Issue
Block a user