Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Brewfile for macOS dependencies. #231

Merged
merged 1 commit into from
Feb 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions local/Brewfile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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