You've already forked libdetectcloud
mirror of
https://github.com/netbirdio/libdetectcloud.git
synced 2026-05-22 17:09:55 -07:00
15 lines
255 B
Makefile
15 lines
255 B
Makefile
PACKAGES:=$(shell go list ./... | grep -v /vendor/)
|
|
|
|
default: lint
|
|
|
|
gofmt:
|
|
go fmt ./...
|
|
|
|
lint: gofmt
|
|
$(GOPATH)/bin/golint $(PACKAGES)
|
|
$(GOPATH)/bin/golangci-lint run
|
|
$(GOPATH)/bin/gosec -quiet -no-fail ./...
|
|
|
|
update-deps:
|
|
go get -u ./...
|
|
go mod tidy
|