mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
feat: add helm to go mod (#497)
This commit is contained in:
30
vendor/github.com/jmoiron/sqlx/Makefile
generated
vendored
Normal file
30
vendor/github.com/jmoiron/sqlx/Makefile
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
.ONESHELL:
|
||||
SHELL = /bin/sh
|
||||
.SHELLFLAGS = -ec
|
||||
|
||||
BASE_PACKAGE := github.com/jmoiron/sqlx
|
||||
|
||||
tooling:
|
||||
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
|
||||
go install golang.org/x/vuln/cmd/govulncheck@v1.0.4
|
||||
go install golang.org/x/tools/cmd/goimports@v0.20.0
|
||||
|
||||
has-changes:
|
||||
git diff --exit-code --quiet HEAD --
|
||||
|
||||
lint:
|
||||
go vet ./...
|
||||
staticcheck -checks=all ./...
|
||||
|
||||
fmt:
|
||||
go list -f '{{.Dir}}' ./... | xargs -I {} goimports -local $(BASE_PACKAGE) -w {}
|
||||
|
||||
vuln-check:
|
||||
govulncheck ./...
|
||||
|
||||
test-race:
|
||||
go test -v -race -count=1 ./...
|
||||
|
||||
update-dependencies:
|
||||
go get -u -t -v ./...
|
||||
go mod tidy
|
||||
Reference in New Issue
Block a user