Skip to content

Commit

Permalink
Add a Brewfile for macOS dependencies.
Browse files Browse the repository at this point in the history
Fixes #218.
  • Loading branch information
oliverchang committed Feb 21, 2019
1 parent 7575500 commit abed8c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions 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"
21 changes: 1 addition & 20 deletions local/install_deps_macos.bash
Expand Up @@ -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.
Expand Down

0 comments on commit abed8c2

Please sign in to comment.