From 5741a53d4650249ced86af190141f0a8417d403e Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Thu, 10 Nov 2016 00:17:47 +0100 Subject: [PATCH] More portable way to list files to be spellchecked and include docs/ directory (#3220) --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 596a9c082..28134dff5 100644 --- a/Makefile +++ b/Makefile @@ -101,8 +101,9 @@ deadcode: @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/deadcode spelling: - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell -error cmd/**/* - @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell -error pkg/**/* + @-GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell -error `find cmd/` + @-GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell -error `find pkg/` + @-GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell -error `find docs/` test: build @echo "Running all minio testing:"