Skip to content

Commit

Permalink
sed for Linux and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc committed Dec 18, 2024
1 parent a21d4db commit eb81544
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 @@ -118,7 +118,7 @@ lint: bin/golangci-lint
unit:
go test $$(go list -e ./... | grep -v tools | grep -v tests | grep -v third_party) \
-cover -coverprofile=coverage.txt -covermode=atomic
sed -i '' '/generated/d' coverage.txt
sed -i.bak '/generated/d' coverage.txt && rm coverage.txt.bak

.PHONY: check
check: lint unit verify
Expand Down

0 comments on commit eb81544

Please sign in to comment.