Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #185 from containers/topic/make-fixes
Browse files Browse the repository at this point in the history
Makefile: Do not build all vendor packages
  • Loading branch information
Samuel Ortiz committed Apr 10, 2017
2 parents 8873c5d + 9e46813 commit e3b988e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ script:
- gocyclo -over 15 $go_files
- go list -f '{{.Dir}}' $go_packages | xargs -L 1 ineffassign
- gofmt -s -l $go_files | wc -l | xargs -I % bash -c "test % -eq 0"
- go build $go_packages
- make
- export GOROOT=`go env GOROOT` && sudo -E PATH=$PATH:$GOROOT/bin:/tmp/cni/bin $GOPATH/bin/test-cases
-v -timeout 9 -short -coverprofile /tmp/cover.out $go_packages

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all: binaries
go build ./...
go build $(go list ./... | grep -v /vendor/)
cd hack/virtc && go build

pause:
Expand Down

0 comments on commit e3b988e

Please sign in to comment.