* default max go, cleaning up for orgs

* bump changelog

* bumping version
This commit is contained in:
Zachary Rice authored and GitHub committed 2018-10-01 21:21:19 -05:00
1 parent 93669f1ee8
commit 3faec00bf9
4 files changed
+214 -25

No files matched your search

+6 -2
View File
@@ -4,13 +4,12 @@ test:
go get github.com/golang/lint/golint
go fmt
golint
go test --race -cover
go test --race --cover -run=Test$
deploy:
@echo "$(DOCKER_PASSWORD)" | docker login -u "$(DOCKER_USERNAME)" --password-stdin
docker build -f Dockerfile -t $(REPO):$(TAG) .
echo "Pushing $(REPO):$(COMMIT) $(REPO):$(TAG)"
docker push $(REPO)
build-all:
rm -rf build
mkdir build
@@ -21,3 +20,8 @@ build-all:
env GOOS="linux" GOARCH="mips" go build -o "build/gitleaks-linux-mips"
env GOOS="linux" GOARCH="mips" go build -o "build/gitleaks-linux-mips"
env GOOS="darwin" GOARCH="amd64" go build -o "build/gitleaks-darwin-amd64"
benchmark:
go test -run=Benchmark -bench=. -benchtime=5s
benchmark-fast:
go test -bench=BenchmarkAuditLeakRepo -run=BenchmarkAuditLeakRepo$