bootstrap 313 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. set -e
  3. cd "$(dirname "$0")/.."
  4. if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
  5. brew bundle check >/dev/null 2>&1 || {
  6. echo "==> Installing Homebrew dependencies…"
  7. brew bundle
  8. }
  9. fi
  10. echo "==> Installing Go dependencies…"
  11. go mod tidy -e