Files
avo/script/lint
2018-12-05 00:49:12 -08:00

9 lines
183 B
Bash
Executable File

#!/bin/bash -ex
# Ensure the repository is clean after code generation.
./script/generate
test -z "$(git status --porcelain)"
# Run suite of golangci-lint checks.
golangci-lint run