mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1314 from murgatroid99/macos_use_homebrew_make
Use make from homebrew in Mac tests
This commit is contained in:
commit
a0222f91c4
|
@ -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