2018-11-28 22:41:16 +05:30
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Filter out any files with a !golint build tag.
|
|
|
|
LINTABLE=$( go list -tags=golint -f '
|
|
|
|
{{- range $i, $file := .GoFiles -}}
|
|
|
|
{{ $file }} {{ end }}
|
|
|
|
{{ range $i, $file := .TestGoFiles -}}
|
|
|
|
{{ $file }} {{ end }}' github.com/coreos/go-oidc )
|
|
|
|
|
|
|
|
go test -v -i -race github.com/coreos/go-oidc/...
|
|
|
|
go test -v -race github.com/coreos/go-oidc/...
|
2019-06-20 21:57:47 +05:30
|
|
|
golint -set_exit_status $LINTABLE
|
2018-11-28 22:41:16 +05:30
|
|
|
go vet github.com/coreos/go-oidc/...
|
2019-06-20 21:57:47 +05:30
|
|
|
go build -v ./example/...
|