Skip to content

Commit

Permalink
Makefile update (#350)
Browse files Browse the repository at this point in the history
* update makefile

Signed-off-by: adisos <[email protected]>

* update

Signed-off-by: adisos <[email protected]>

---------

Signed-off-by: adisos <[email protected]>
  • Loading branch information
adisos authored May 13, 2024
1 parent 414eafa commit 92eec39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
REPOSITORY := github.com/np-guard/netpol-analyzer
EXE:=k8snetpolicy
COVERAGE:=netpolicy.coverprofile

mod: go.mod
@echo -- $@ --
Expand All @@ -23,10 +24,10 @@ build:

test:
@echo -- $@ --
go test ./... -v -cover -coverprofile netpolicy.coverprofile
go test ./... -v -coverpkg=./... -coverprofile $(COVERAGE)

coverage:
go tool cover -html="netpolicy.coverprofile"
go tool cover -html="$(COVERAGE)"

test-update: # overrides/ generates tests' expected output files for relevant tests
# if the format is dot - generates also png files
Expand Down

0 comments on commit 92eec39

Please sign in to comment.