diff --git a/script/bootstrap b/script/bootstrap index 9b64de4a..889e1001 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -77,18 +77,27 @@ install_packages_brew() { echo 'Installing script dependencies...' + brew update + brew_packages=( ccache coreutils git git-lfs grep - ninja-build - openjdk@17 + ninja unzip wget ) brew install "${brew_packages[@]}" + + # Casks only work on macOS + if [ "$(uname)" = "Darwin" ]; then + brew_casks=( + corretto@17 + ) + brew install --cask "${brew_casks[@]}" + fi } install_packages_source()