Update Weave Mesh library to 0.4

This commit is contained in:
Bryan Boreham committed 2019-11-05 12:26:14 +00:00
1 parent b871c1eecb
commit 3780ce4dfb
8 files changed
+48 -45

No files matched your search

+4 -13
View File
@@ -4,19 +4,10 @@ set -o errexit
set -o nounset
set -o pipefail
if [ ! $(command -v gometalinter) ]
if [ ! $(command -v golangci-lint) ]
then
go get github.com/alecthomas/gometalinter
gometalinter --install --vendor
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.20.0
golangci-lint --version
fi
gometalinter \
--exclude='error return value not checked.*(Close|Log|Print).*\(errcheck\)$' \
--exclude='.*_test\.go:.*error return value not checked.*\(errcheck\)$' \
--exclude='duplicate of.*_test.go.*\(dupl\)$' \
--disable=aligncheck \
--disable=gotype \
--disable=gas \
--cyclo-over=20 \
--tests \
--deadline=20s
golangci-lint run