Debian Codegraph @

dependencies/pkg/mod/github.com/jmoiron/[email protected]/Makefile

raw
1 .ONESHELL:
2 SHELL = /bin/sh
3 .SHELLFLAGS = -ec
4
5 BASE_PACKAGE := github.com/jmoiron/sqlx
6
7 tooling:
8 go install honnef.co/go/tools/cmd/[email protected]
9 go install golang.org/x/vuln/cmd/[email protected]
10 go install golang.org/x/tools/cmd/[email protected]
11
12 has-changes:
13 git diff --exit-code --quiet HEAD --
14
15 lint:
16 go vet ./...
17 staticcheck -checks=all ./...
18
19 fmt:
20 go list -f '{{.Dir}}' ./... | xargs -I {} goimports -local $(BASE_PACKAGE) -w {}
21
22 vuln-check:
23 govulncheck ./...
24
25 test-race:
26 go test -v -race -count=1 ./...
27
28 update-dependencies:
29 go get -u -t -v ./...
30 go mod tidy