Added make tasks for fmt and vet, added vet task to drone.yml

This commit is contained in:
Thomas Boerger 2016-01-01 12:57:45 +01:00
parent 1f50e69fa2
commit d25f5eeeaf
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@ build:
image: golang:1.5
commands:
- make deps
- make vet
- make build
- make test

View File

@ -18,6 +18,12 @@ deps:
test:
go test -cover ./...
fmt:
go fmt ./...
vet:
go vet ./...
build:
go build -ldflags '-s -w $(LDFLAGS)'