mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #681 from codysoyland/coverage-fix
Add `-n` to tail command for GNU-tail compatibility
This commit is contained in:
commit
9f7f3d7bf8
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -48,7 +48,7 @@ cover-pkg:
|
|||
mkdir -p build/coverage
|
||||
touch build/coverage/$(subst /,-,$(PKG)).out
|
||||
go test -coverprofile=build/coverage/$(subst /,-,$(PKG)).out $(PKG)
|
||||
tail +2 build/coverage/$(subst /,-,$(PKG)).out >> build/coverage/all.out
|
||||
tail -n +2 build/coverage/$(subst /,-,$(PKG)).out >> build/coverage/all.out
|
||||
|
||||
cover-viz: cover
|
||||
go tool cover -html=build/coverage/all.out
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue