mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
fixing module name, updating gitignore and travis
This commit is contained in:
1 parent
b55d88dc15
commit
e5f5e64cdb
19 files changed
+40
-44
No files matched your search
@@ -1,8 +1,8 @@
|
||||
.PHONY: test test-cover build release-builds
|
||||
|
||||
VERSION := `git fetch --tags && git tag | sort -V | tail -1`
|
||||
PKG=github.com/zricethezav/gitleaks-ng
|
||||
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks-ng/version.Version=$(VERSION)"
|
||||
PKG=github.com/zricethezav/gitleaks
|
||||
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/version.Version=$(VERSION)"
|
||||
COVER=--cover --coverprofile=cover.out
|
||||
|
||||
test-cover:
|
||||
@@ -16,7 +16,7 @@ test:
|
||||
go test ./... --race $(PKG) -v
|
||||
|
||||
test-integration:
|
||||
go test github.com/zricethezav/gitleaks-ng/hosts -v -integration
|
||||
go test github.com/zricethezav/gitleaks/hosts -v -integration
|
||||
|
||||
build:
|
||||
go mod tidy
|
||||
|
||||
Reference in new issue
Block a user