yq/scripts/check.sh
2021-11-16 16:20:50 +11:00

13 lines
168 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o pipefail
if command -v golangci-lint &> /dev/null
then
golangci-lint run --verbose
else
./bin/golangci-lint run --verbose
fi