mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e5d28115ee
- all changes here are attributed to difference in behaviour between, namely: - resolution of secondary test dependencies - prunning of non-Go files Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
285 B
Makefile
17 lines
285 B
Makefile
SHELL=/bin/bash
|
|
|
|
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
|
|
|
|
all: vet fmt test
|
|
|
|
fmt:
|
|
go fmt $(GOFILES_NOVENDOR)
|
|
|
|
vet:
|
|
# do not check lostcancel, they are intentional.
|
|
go vet -lostcancel=false $(GOFILES_NOVENDOR)
|
|
|
|
test: vet
|
|
./scripts/test_all.sh
|
|
|
|
.PHONY: all test
|