Makefile: Update for ease of Homebrew installation

This removes the `lint` dependency from building Moby.
I've also added ineffassign to check ineffecutal assignments alongside
checks to ensure that both it and golint are installed.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit is contained in:
Dave Tucker
2017-07-14 10:00:57 +01:00
parent 4db06aa173
commit 5934a24206
2 changed files with 20 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ jobs:
steps:
- checkout
- run: go get github.com/golang/lint/golint
- run: go get github.com/gordonklaus/ineffassign
- run: cd $GOPATH/src/github.com/moby/tool && make test
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=darwin
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=windows
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=darwin lint moby
- run: cd $GOPATH/src/github.com/moby/tool && make clean && make GOOS=windows lint moby