mirror of https://github.com/grpc/grpc-node.git
Use make from homebrew in Mac tests
This commit is contained in:
parent
a9298edb7c
commit
25b5a40a6c
|
@ -24,6 +24,8 @@ npm install -g npm
|
|||
npm install -g node-gyp
|
||||
|
||||
set -ex
|
||||
brew install make
|
||||
PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH"
|
||||
cd $(dirname $0)/../../../../..
|
||||
base_dir=$(pwd)
|
||||
|
||||
|
|
|
@ -19,6 +19,13 @@ rm -rf ~/.rvm
|
|||
set -e
|
||||
cd $(dirname $0)/..
|
||||
|
||||
OS=$(uname)
|
||||
if [ "$OS" = "Darwin" ]
|
||||
then
|
||||
brew install make
|
||||
PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH"
|
||||
fi
|
||||
|
||||
# Install gRPC and its submodules.
|
||||
git submodule update --init --recursive
|
||||
|
||||
|
|
Loading…
Reference in New Issue