Less verbose
This commit is contained in:
parent
240f3f5aae
commit
52646fbfb7
4
do.sh
4
do.sh
@ -11,7 +11,6 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test() {
|
test() {
|
||||||
echo "I am ${FUNCNAME[0]}ing"
|
|
||||||
_lint && _vet && _test
|
_lint && _vet && _test
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -20,17 +19,14 @@ run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_test() {
|
_test() {
|
||||||
echo "I am ${FUNCNAME[0]}ing"
|
|
||||||
go test -v -coverprofile=coverage.out -covermode count ./... | tee tests.out
|
go test -v -coverprofile=coverage.out -covermode count ./... | tee tests.out
|
||||||
}
|
}
|
||||||
|
|
||||||
_lint() {
|
_lint() {
|
||||||
echo "I am ${FUNCNAME[0]}ing"
|
|
||||||
golint -set_exit_status ./...
|
golint -set_exit_status ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
_vet() {
|
_vet() {
|
||||||
echo "I am ${FUNCNAME[0]}ing"
|
|
||||||
go vet ./...
|
go vet ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user