mirror of
https://github.com/openai/openai-go.git
synced 2026-03-31 16:47:11 +09:00
17 lines
313 B
Bash
Executable File
17 lines
313 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
|
|
brew bundle check >/dev/null 2>&1 || {
|
|
echo "==> Installing Homebrew dependencies…"
|
|
brew bundle
|
|
}
|
|
fi
|
|
|
|
echo "==> Installing Go dependencies…"
|
|
|
|
go mod tidy -e
|