mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
13 lines
265 B
Bash
Executable File
13 lines
265 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
HOOKS=$(dirname "$0")
|
|
GIT=$(dirname "$HOOKS")
|
|
ROOT=$(dirname "$GIT")
|
|
|
|
. "$ROOT/env/bin/activate"
|
|
"$ROOT/script/lint"
|
|
"$ROOT/script/format" --check --quiet || (echo "Formatting check failed, run ./script/format" && exit 1)
|
|
"$ROOT/script/coverage"
|