mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
43a805870a
commit
889ef0cbe0
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -31,8 +31,9 @@ test: deps
|
|||
go fmt ./$$pkg ; \
|
||||
go vet ./$$pkg ; \
|
||||
megacheck ./$$pkg ; \
|
||||
touch $$pkg.profile ; \
|
||||
go test -race ./$$pkg -coverprofile=$$pkg.profile -covermode=atomic; \
|
||||
tail -n +2 $$pkg.profile >> coverage.profile || true && rm -rf $$pkg.profile ; \
|
||||
tail -n +2 $$pkg.profile >> coverage.profile && rm -rf $$pkg.profile ; \
|
||||
done
|
||||
|
||||
html_coverage: test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue