We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d4e9e commit 52360abCopy full SHA for 52360ab
scripts/macos_dependencies.sh
@@ -2,6 +2,18 @@
2
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
3
ROOT=$DIR/../
4
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
17
brew bundle --file=- <<-EOS
18
brew "zeromq"
19
cask "gcc-arm-embedded"
0 commit comments