mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +00:00
13 lines
168 B
Bash
Executable File
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
|
|
|