go vet is a test step
This commit is contained in:
parent
dbb4b67205
commit
8de2a7f4c8
4
build.sh
4
build.sh
@ -21,9 +21,6 @@ check() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
check
|
check
|
||||||
|
|
||||||
go vet ./...
|
|
||||||
|
|
||||||
godep go build $* -ldflags "$ldflags" ./cmd/syncthing
|
godep go build $* -ldflags "$ldflags" ./cmd/syncthing
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,6 +46,7 @@ test-cov() {
|
|||||||
|
|
||||||
test() {
|
test() {
|
||||||
check
|
check
|
||||||
|
go vet ./...
|
||||||
godep go test -cpu=1,2,4 ./...
|
godep go test -cpu=1,2,4 ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user