mirror of
https://github.com/langchain-ai/langsmith-go.git
synced 2026-08-24 12:13:40 -04:00
589792fe1d
* chore(internal): more robust bootstrap script * feat(api): api update * feat(evaluators): add list evaluators (GET /api/v1/runs/rules) --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
25 lines
458 B
Bash
Executable File
25 lines
458 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
|
|
brew bundle check >/dev/null 2>&1 || {
|
|
echo -n "==> Install Homebrew dependencies? (y/N): "
|
|
read -r response
|
|
case "$response" in
|
|
[yY][eE][sS]|[yY])
|
|
brew bundle
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
echo
|
|
}
|
|
fi
|
|
|
|
echo "==> Installing Go dependencies…"
|
|
|
|
go mod tidy -e
|