github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/hack/validate/gometalinter (about) 1 #!/usr/bin/env bash 2 set -e -o pipefail 3 4 SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 6 # CI platforms differ, so per-platform GOMETALINTER_OPTS can be set 7 # from a platform-specific Dockerfile, otherwise let's just set 8 # (somewhat pessimistic) default of 10 minutes. 9 gometalinter \ 10 ${GOMETALINTER_OPTS:--deadine 10m} \ 11 --config $SCRIPTDIR/gometalinter.json ./...