~chrisppy/beagles

ba5fc33807ebf6cfe3a7e76280f25b6d99e7d5e6 — Chris Palmer 21 days ago f8a3d76
Makefile checks updated
1 files changed, 12 insertions(+), 8 deletions(-)

M Makefile
M Makefile => Makefile +12 -8
@@ 69,17 69,21 @@ check: clean
	$(GO) get -u github.com/securego/gosec/cmd/gosec
	$(GO) get -u honnef.co/go/tools/cmd/staticcheck
	$(GO) get -u gitlab.com/opennota/check/cmd/aligncheck
	$(GO) get -u gitlab.com/opennota/check/cmd/structcheck
	$(GO) get -u gitlab.com/opennota/check/cmd/varcheck
	$(GO) get -u github.com/kisielk/errcheck
	$(GO) get -u github.com/psampaz/go-mod-outdated
	$(GO) fmt -x ./...
	$(GO) vet ./...
	golint -set_exit_status `go list ./... | grep -v vendor`
	gosec -exclude=G107,G204 ./...
	staticcheck ./...
	aligncheck ./...
	errcheck ./...
	$(GO) fmt -x `$(GO) list ./... | grep -v fmsg`
	$(GO) vet `$(GO) list ./... | grep -v fmsg`
	golint -set_exit_status `$(GO) list ./... | grep -v fmsg`
	staticcheck `$(GO) list ./... | grep -v fmsg`
	aligncheck `$(GO) list ./... | grep -v fmsg`
	structcheck `$(GO) list ./... | grep -v fmsg`
	varcheck `$(GO) list ./... | grep -v fmsg`
	errcheck `$(GO) list ./... | grep -v fmsg`
	gosec -exclude=G107,G204 -exclude-dir=fmsg ./... 
	$(GO) list -u -m -json all | go-mod-outdated -direct -ci
	$(GO) test -cover ./...
	$(GO) test -cover `$(GO) list ./... | grep -v vendor | grep -v fmsg`
	make clean

package: check