1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-31 14:51:57 +00:00
Files
norman/scripts/validate

16 lines
251 B
Plaintext
Raw Permalink Normal View History

2017-10-11 22:48:07 -07:00
#!/bin/bash
set -e
cd $(dirname $0)/..
echo Running validation
if ! command -v golangci-lint; then
echo Skipping validation: no golangci-lint available
exit
fi
2017-10-11 22:48:07 -07:00
echo Running: golangci-lint
export "GOROOT=$(go env GOROOT)"
golangci-lint run