From ca291eadafb649ec89537a0bffd9812fef3c4714 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 26 Nov 2020 11:00:53 +0530 Subject: [PATCH] Sync dependencies from tap in add_brew_extension --- src/scripts/darwin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 28d4724b..80f2e642 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -83,6 +83,8 @@ add_brew_extension() { if ! brew tap | grep shivammathur/extensions; then brew tap --shallow shivammathur/extensions fi + tap_dir="$(brew --prefix)/Homebrew/Library/Taps" + sudo mv "$tap_dir"/shivammathur/homebrew-extensions/.github/deps/"$extension"/* "$tap_dir/homebrew/homebrew-core/Formula/" 2>/dev/null || true brew install "$extension@$version" sudo cp "$(brew --prefix)/opt/$extension@$version/$extension.so" "$ext_dir" }