dc49f84dcc
Update Makefile targets Signed-off-by: Derek McGowan <derek@mcgstyle.net>
12 lines
377 B
Bash
Executable file
12 lines
377 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
if ! command -v git-validation; then
|
|
>&2 echo "ERROR: git-validation not found. Install with:"
|
|
>&2 echo " go get -u github.com/vbatts/git-validation"
|
|
exit 1
|
|
fi
|
|
|
|
verbosity="${DCO_VERBOSITY--v}"
|
|
GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -run DCO,short-subject,dangling-whitespace
|