mirror of
https://github.com/harness/drone.git
synced 2025-05-14 16:09:59 +08:00
Merge pull request #797 from mattbostock/go_fmt
Run gofmt and add test to prevent regressions
This commit is contained in:
commit
ae65cf5fdb
1
Makefile
1
Makefile
@ -8,6 +8,7 @@ deps:
|
||||
go get -t -v ./...
|
||||
|
||||
test:
|
||||
@test -z "$(shell find . -name '*.go' | xargs gofmt -l)" || (echo "Need to run 'go fmt ./...'"; exit 1)
|
||||
go vet ./...
|
||||
go test -cover -short ./...
|
||||
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"github.com/drone/drone/shared/build/buildfile"
|
||||
"github.com/drone/drone/shared/build/repo"
|
||||
|
||||
"github.com/drone/drone/plugin/deploy/deis"
|
||||
"github.com/drone/drone/plugin/deploy/git"
|
||||
"github.com/drone/drone/plugin/deploy/heroku"
|
||||
"github.com/drone/drone/plugin/deploy/deis"
|
||||
"github.com/drone/drone/plugin/deploy/modulus"
|
||||
"github.com/drone/drone/plugin/deploy/nodejitsu"
|
||||
"github.com/drone/drone/plugin/deploy/tsuru"
|
||||
|
Loading…
Reference in New Issue
Block a user