Clean up scripts/validate-*. Add vet,gofmt,lint tests.

Travis now runs `make validate` as first test.
Make validate includes all validate tests (go vet, gofmt)
This commit is contained in:
Tomas Kral
2016-11-22 13:02:13 +01:00
parent e6b3c2881f
commit 8bb89876cf
8 changed files with 52 additions and 113 deletions
+9 -1
View File
@@ -26,6 +26,14 @@ clean:
test-unit:
./script/make.sh test-unit
test-cmd:
./script/make.sh test-cmd
validate: gofmt vet
vet:
./script/make.sh validate-vet
lint:
./script/make.sh validate-lint
gofmt:
./script/make.sh validate-gofmt