mirror of
https://github.com/signalapp/libsignal.git
synced 2025-12-05 01:10:27 +00:00
And update mac_setup.sh to include mypy and flake8 and the new flake8 plugins. Co-authored-by: Max Moiseev <moiseev@signal.org>
39 lines
814 B
Bash
Executable File
39 lines
814 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#set -ex
|
|
|
|
brew bundle install --file=- << EOF
|
|
brew "awscli"
|
|
brew "cmake"
|
|
brew "cocoapods"
|
|
brew "coreutils"
|
|
brew "fnm"
|
|
brew "gh"
|
|
brew "git"
|
|
brew "jq"
|
|
brew "just"
|
|
brew "pipx"
|
|
brew "protobuf"
|
|
brew "python"
|
|
brew "rocksdb"
|
|
brew "ruby"
|
|
brew "rustup"
|
|
brew "shellcheck"
|
|
brew "swiftlint"
|
|
brew "taplo"
|
|
brew "terraform"
|
|
brew "yamllint"
|
|
cask "google-cloud-sdk"
|
|
EOF
|
|
|
|
# Install Python tools using pipx.
|
|
# This keeps their dependencies isolated from other things on your system,
|
|
# but is still global state for each tool. We may some day want to switch this to a venv instead.
|
|
"$(brew --prefix pipx)/bin/pipx" install mypy
|
|
"$(brew --prefix pipx)/bin/pipx" install flake8
|
|
"$(brew --prefix pipx)/bin/pipx" inject flake8 \
|
|
flake8-comprehensions \
|
|
flake8-deprecated \
|
|
flake8-import-order \
|
|
flake8-quotes
|