Skip to content

Commit f26758a

Browse files
authored
Add bats to make tools target (#359)
e2e tests require bats-core but make tools didn't install it, unlike every other dev dependency.
1 parent d809f43 commit f26758a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,13 @@ tools:
474474
else echo "Could not auto-install zizmor: https://docs.zizmor.sh/installation/" && exit 1; \
475475
fi; \
476476
}
477+
@command -v bats >/dev/null 2>&1 || { \
478+
echo "Installing bats..."; \
479+
if command -v brew >/dev/null 2>&1; then brew install bats-core; \
480+
elif command -v pacman >/dev/null 2>&1; then sudo pacman -S --noconfirm bats; \
481+
else echo "Could not auto-install bats: https://github.com/bats-core/bats-core#installation" && exit 1; \
482+
fi; \
483+
}
477484

478485

479486
# Run skill evals (requires ANTHROPIC_API_KEY and Ruby)

0 commit comments

Comments
 (0)