More portable way to list files to be spellchecked and include docs/ directory (#3220)

This commit is contained in:
Anis Elleuch 2016-11-10 00:17:47 +01:00 committed by Harshavardhana
parent dd0698d14c
commit 5741a53d46

View file

@ -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:"