Files
runner-images/images/macos/provision/core/commonutils.sh
Darii Nurgaleev 0d93dd2fc9 [macOS] brew --cask option fix. (#2325)
* [macOS] brew --cask option fix.

* removed curl from HS

* return curl back
2020-12-22 10:48:31 +03:00

61 lines
882 B
Bash

#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
# TO-DO: Move the list of brew packages and casks to toolset
# brew install
binst_common_utils=(
carthage
cmake
subversion
go
gnupg
llvm
libpq
zstd
packer
helm
aliyun-cli
bazelisk
gh
p7zip
ant
aria2
gnu-tar
)
if is_Less_BigSur; then
binst_common_utils+=(
xctool
bats
parallel
)
fi
for package in ${binst_common_utils[@]}; do
echo "Install $package"
brew install $package
done
# brew cask install
bcask_common_utils=(
julia
)
if is_Less_BigSur; then
bcask_common_utils+=(
virtualbox
vagrant
r
)
fi
for package in ${bcask_common_utils[@]}; do
echo "Install $package"
brew install --cask $package
done
# Invoke bazel to download the latest bazel version via bazelisk
bazel