mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
1 parent
91eb014f17
commit
1f80d14f3f
685 files changed
+143450
-17228
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
BUMP_VERSION := $(GOPATH)/bin/bump_version
|
||||
MEGACHECK := $(GOPATH)/bin/megacheck
|
||||
WRITE_MAILMAP := $(GOPATH)/bin/write_mailmap
|
||||
|
||||
IGNORES := 'github.com/kevinburke/ssh_config/config.go:U1000 github.com/kevinburke/ssh_config/config.go:S1002 github.com/kevinburke/ssh_config/token.go:U1000'
|
||||
|
||||
$(MEGACHECK):
|
||||
go get honnef.co/go/tools/cmd/megacheck
|
||||
|
||||
lint: $(MEGACHECK)
|
||||
go vet ./...
|
||||
$(MEGACHECK) --ignore=$(IGNORES) ./...
|
||||
|
||||
test: lint
|
||||
@# the timeout helps guard against infinite recursion
|
||||
go test -timeout=50ms ./...
|
||||
|
||||
$(BUMP_VERSION):
|
||||
go get github.com/Shyp/bump_version
|
||||
|
||||
release: $(BUMP_VERSION)
|
||||
$(BUMP_VERSION) minor config.go
|
||||
|
||||
force: ;
|
||||
|
||||
AUTHORS.txt: force | $(WRITE_MAILMAP)
|
||||
$(WRITE_MAILMAP) > AUTHORS.txt
|
||||
|
||||
authors: AUTHORS.txt
|
||||
Reference in new issue
Block a user