Merge pull request #1155 from Bugagazavr/patch-4

Fix warnings
This commit is contained in:
Brad Rydzewski 2015-08-20 11:13:44 -07:00
commit 56a6e58ed6

View file

@ -14,8 +14,8 @@ test:
go test -cover -short github.com/drone/drone/pkg/...
build:
go build -o bin/drone -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-server
go build -o bin/drone-agent -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-agent
go build -o bin/drone -ldflags "-X main.revision=$(SHA) -X main.version=$(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-server
go build -o bin/drone-agent -ldflags "-X main.revision=$(SHA) -X main.version=$(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-agent
run:
bin/drone-server --debug