Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 031d697

Browse files
mraerinocalavera
authored andcommitted
Move brew install before all other dependencies
Mainly for allowing native node modules to use homebrew stuff
1 parent 96a3c6f commit 031d697

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

run-build-functions.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,12 @@ install_dependencies() {
453453
fi
454454
fi
455455

456+
# Homebrew from Brewfile
457+
if [ -f Brewfile ] || [ ! -z "$HOMEBREW_BUNDLE_FILE" ]
458+
then
459+
brew bundle
460+
fi
461+
456462
# NPM Dependencies
457463
: ${YARN_VERSION="$defaultYarnVersion"}
458464
: ${CYPRESS_CACHE_FOLDER="./node_modules/.cache/CypressBinary"}
@@ -653,12 +659,6 @@ install_dependencies() {
653659
rm -rf $GOPATH/src/$GO_IMPORT_PATH
654660
ln -s /opt/buildhome/repo ${GOPATH}/src/$GO_IMPORT_PATH
655661
fi
656-
657-
# Homebrew from Brewfile
658-
if [ -f Brewfile ] || [ ! -z "$HOMEBREW_BUNDLE_FILE" ]
659-
then
660-
brew bundle
661-
fi
662662
}
663663

664664
#

0 commit comments

Comments
 (0)