Skip to content

Commit 52360ab

Browse files
brew not in GH???
1 parent d6d4e9e commit 52360ab

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/macos_dependencies.sh

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
33
ROOT=$DIR/../
44

5+
if [[ $(command -v brew) == "" ]]; then
6+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
7+
8+
if [[ $ARCH == "x86_64" ]]; then
9+
echo 'eval "$(/usr/local/homebrew/bin/brew shellenv)"' >> $RC_FILE
10+
eval "$(/usr/local/homebrew/bin/brew shellenv)"
11+
else
12+
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $RC_FILE
13+
eval "$(/opt/homebrew/bin/brew shellenv)"
14+
fi
15+
fi
16+
517
brew bundle --file=- <<-EOS
618
brew "zeromq"
719
cask "gcc-arm-embedded"

0 commit comments

Comments
 (0)