12 lines
209 B
Bash
12 lines
209 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "> pre-commit: format + lint + commit message check"
|
|
|
|
# Run format and lint inside the CI container
|
|
scripts/ci format
|
|
scripts/ci lint
|
|
|
|
echo "pre-commit completed."
|
|
|