mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
5365f971ef
Signed-off-by: phernandez <paul@basicmachines.co>
12 lines
218 B
Bash
Executable File
12 lines
218 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
if ! command -v bun >/dev/null 2>&1; then
|
|
echo "bun is required to run pre-commit checks." >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "Running pre-commit checks..."
|
|
bun run lint
|
|
bun run check-types
|