Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
Remove main.go from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chmouel committed Nov 30, 2018
1 parent 5e3ef2a commit 63f3318
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 @@ -137,7 +137,7 @@ coverage: prebuild-check deps $(SOURCES) ## Run coverage
F8_DEVELOPER_MODE_ENABLED=1 F8_RESOURCE_UNIT_TEST=1 \
F8_LOG_LEVEL=$(F8_LOG_LEVEL) F8_RESOURCE_DATABASE=1 \
./vendor/github.com/haya14busa/goverage/goverage -v -coverprofile=tmp/coverage.out $(TEST_PACKAGES)
sed -i~ '/\/sqlbindata.go:/d' tmp/coverage.out
sed -i~ -e '/\/sqlbindata.go:/d' -e '/\/main.go:/d' tmp/coverage.out
@go tool cover -func tmp/coverage.out

# -------------------------------------------------------------------
Expand Down

0 comments on commit 63f3318

Please sign in to comment.