Files
athens/scripts/check_golint.sh
Marwan Sulaiman 5449649420 Do not use modules in go get of tools (#690)
* Do not use modules in go get of tools

* temp remove validation

* put back verify minus gofmt

* include module off in list
2018-09-20 13:18:51 -04:00

8 lines
195 B
Bash
Executable File

#!/bin/bash
# check_golint.sh
# Run the linter on everything except generated code
set -euo pipefail
GO111MODULE=off golint -set_exit_status $(GO111MODULE=off go list ./... | grep -v '/mocks')