chore: vendor
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-08-04 11:06:58 +02:00
parent 2a5985e44e
commit 04aec8232f
3557 changed files with 981078 additions and 1 deletions

61
vendor/github.com/decentral1se/passgen/Makefile generated vendored Normal file
View File

@ -0,0 +1,61 @@
VERSION ?= $(shell git describe --tags --dirty --match 'v*.*.*')
.PHONY: build
build:
mkdir -p dist
go build \
-v \
-race \
-mod vendor \
-o dist \
-ldflags "-X main.version=$(VERSION)" \
./cmd/...
.PHONY: install
install:
go install \
-v \
-race \
-mod vendor \
-ldflags "-X main.version=$(VERSION)" \
./cmd/...
.PHONY: clean
clean:
rm -rf dist
rm -rf cover
rm -rf prof
rm -rf passgen.test
.PHONY: test
test:
mkdir -p cover
go test \
-v \
-race \
-coverprofile cover/cover.out \
./...
.PHONY: cover
cover:
go tool cover \
-html \
cover/cover.out
.PHONY: vet
vet:
go vet -v ./...
.PHONY: lint
lint:
golangci-lint run -v ./...
.PHONY: benchmark
benchmark:
mkdir -p prof
go test \
-v \
-run Benchmark \
-cpuprofile prof/cpu.prof \
-memprofile prof/mem.prof \
-bench ./...