mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 19:24:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user