Last change
on this file since 822 was 822, checked in by yakumo.izuru, 22 months ago |
Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
273 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash
|
---|
2 |
|
---|
3 | set -e
|
---|
4 | echo "" > coverage.txt
|
---|
5 |
|
---|
6 | for d in $(go list ./... | grep -v vendor); do
|
---|
7 | go test -race -coverprofile=profile.out -covermode=atomic "$d"
|
---|
8 | if [ -f profile.out ]; then
|
---|
9 | cat profile.out >> coverage.txt
|
---|
10 | rm profile.out
|
---|
11 | fi
|
---|
12 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.