Skip to content

Commit

Permalink
ignore cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc committed Dec 18, 2024
1 parent eb81544 commit ddab7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ lint: bin/golangci-lint

.PHONY: unit
unit:
go test $$(go list -e ./... | grep -v tools | grep -v tests | grep -v third_party) \
go test $$(go list -e ./... | grep -v cmd | grep -v tools | grep -v tests | grep -v third_party) \
-cover -coverprofile=coverage.txt -covermode=atomic
sed -i.bak '/generated/d' coverage.txt && rm coverage.txt.bak

Expand Down

0 comments on commit ddab7f2

Please sign in to comment.