github.com/runcom/containerd@v0.0.0-20160708090337-9bff9f934c0d/hack/validate-lint (about) 1 #!/bin/bash 2 3 lint_error=$(golint ./... | grep -v vendor | grep -v .pb. | tee /dev/stderr) 4 5 if [ "$lint_error" != "" ]; then 6 exit 1 7 fi 8 9 exit 0