fix(build): Remove lcov profiling info

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2025-01-04 11:03:02 +01:00
parent 2a6205fa85
commit 7853cf78a9
3 changed files with 2 additions and 8 deletions

1
.gitignore vendored
View File

@@ -12,7 +12,6 @@ ginkgo.report
*.out
*.test
*.out.*
lcov.info
test/e2e/logs/
dist/
result

View File

@@ -45,10 +45,7 @@ tests-e2e:
coverprofile_merged.out: $(shell find . -type f -name "*.out" -and -not -name "*_merged.out")
gocov-merger -o $@ $^
lcov.info: coverprofile_merged.out
gcov2lcov > $@ < $^
coverage: lcov.info
coverage: coverprofile_merged.out
tests-watch:
( while inotifywait -qqe close_write --include "\.out$$" .; do $(MAKE) -sB coverage; done & )
@@ -67,7 +64,6 @@ install-deps:
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install github.com/amobe/gocov-merger@latest
go install github.com/jandelgado/gcov2lcov@latest
go install github.com/goreleaser/goreleaser@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install github.com/onsi/ginkgo/v2/ginkgo
@@ -100,6 +96,6 @@ ci: install-deps lint tests
clean:
find . -name "*.out" -exec rm {} \;
rm -rf cunicu lcov.info test/logs/ completions/
rm -rf cunicu test/logs/ completions/
.PHONY: all cunicu tests tests-watch coverage clean lint install-deps ci completions docs redirects prepare generate website

View File

@@ -9,7 +9,6 @@ pkgs.mkShell {
libpcap
reuse
ginkgo
gcov2lcov
goreleaser
golangci-lint
protoc-gen-go