mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
Get cover and goveralls in ./build.sh setup
This commit is contained in:
parent
c5c9ee92ac
commit
3f6cdc829b
10
build.sh
10
build.sh
@ -37,7 +37,7 @@ test-cov() {
|
||||
godep go test -coverprofile=profile.out $dir || fail=1
|
||||
if [ -f profile.out ] ; then
|
||||
grep -v "mode: set" profile.out >> coverage.out
|
||||
rm profile.out
|
||||
rm profile.out
|
||||
fi
|
||||
done
|
||||
|
||||
@ -89,10 +89,10 @@ deps() {
|
||||
}
|
||||
|
||||
setup() {
|
||||
echo Installing godep...
|
||||
go get -u github.com/tools/godep
|
||||
echo Installing go vet...
|
||||
go get -u code.google.com/p/go.tools/cmd/vet
|
||||
go get -v -u code.google.com/p/go.tools/cmd/cover
|
||||
go get -v -u code.google.com/p/go.tools/cmd/vet
|
||||
go get -v -u github.com/mattn/goveralls
|
||||
go get -v -u github.com/tools/godep
|
||||
}
|
||||
|
||||
xdr() {
|
||||
|
Loading…
Reference in New Issue
Block a user