/
githubmirror
/
gitleaks
ΠΠ±Π·ΠΎΡ
ΠΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΡ
ΠΠΎΠΉΡΠΈ
/
githubmirror
/
gitleaks
ΠΠΎΠ΄
ΠΠ°Π΄Π°ΡΠΈ
ΠΠΈΠΊΠΈ
ΠΠ°ΠΊΠ΅ΡΡ
0
Π Π΅Π»ΠΈΠ·Ρ
0
ΠΠ½Π°Π»ΠΈΡΠΈΠΊΠ°
ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ
v8.19.2
Makefile
24 ΡΡΡΠΎΠΊΠΈ
531 B
Zachary Rice
Update Makefile
22 ΡΠ΅Π½ 2023, 17:29
ΠΠ΅ Π²Π΅ΡΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½
22 ΡΠ΅Π½ 2023, 17:29
d37b38f
ΠΠΎΠ΄
ΠΠ²ΡΠΎΡΡΡΠ²ΠΎ
Π ΡΡΠΌ ΠΊΠΎΠ΄?
.PHONY: test test-cover PKG=github.com/zricethezav/gitleaks VERSION := `git fetch --tags && git tag | sort -V | tail -1` LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=$(VERSION)" COVER=--cover --coverprofile=cover.out test-cover: go test -v ./... --race $(COVER) $(PKG) go tool cover -html=cover.out format: go fmt ./... test: format go test -v ./... --race $(PKG) build: format go mod tidy go build $(LDFLAGS) clean: find . -type f -name '*.got.*' -delete find . -type f -name '*.out' -delete