17 lines
277 B
Bash
Raw Permalink Normal View History

2021-12-04 16:42:11 +00:00
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/.."
go vet ./...
GOOS=js GOARCH=wasm go vet ./...
golint -set_exit_status ./...
GOOS=js GOARCH=wasm golint -set_exit_status ./...
shellcheck --exclude=SC2046 $(git ls-files "*.sh")
}
main "$@"