diff --git a/local/Brewfile b/local/Brewfile new file mode 100644 index 0000000000..11e64d3043 --- /dev/null +++ b/local/Brewfile @@ -0,0 +1,8 @@ +tap "bazelbuild/tap", pin: true +brew "bazel" +brew "golang" +brew "node" +brew "nodeenv" +brew "pkill" +brew "python@2" +brew "xz" diff --git a/local/install_deps_macos.bash b/local/install_deps_macos.bash index 0b20ec47ce..dfbc12e3e2 100755 --- a/local/install_deps_macos.bash +++ b/local/install_deps_macos.bash @@ -19,26 +19,7 @@ if ! which brew > /dev/null 2>&1; then exit 1 fi -bazel_tap="bazelbuild/tap" - -if ! brew tap | grep $bazel_tap > /dev/null 2>&1; then - brew tap $bazel_tap -fi - -if ! brew tap --list-pinned | grep $bazel_tap > /dev/null 2>&1; then - brew tap-pin $bazel_tap -fi - -brew install \ - bazel \ - golang \ - node \ - nodeenv \ - npm \ - pkill \ - python@2 \ - xz - +brew bundle --file=$(dirname "$0")/Brewfile pip install virtualenv # Setup virtualenv.