From a0cd58655fba00ef6c2bb5cce171697277b7e722 Mon Sep 17 00:00:00 2001 From: Riyaz Faizullabhoy Date: Tue, 16 Feb 2016 13:50:20 -0800 Subject: [PATCH] add misspell target to makefile Signed-off-by: Riyaz Faizullabhoy --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 14f8dc61c0..218889be75 100644 --- a/Makefile +++ b/Makefile @@ -104,6 +104,16 @@ lint: @echo "+ $@" @test -z "$$(golint ./... | grep -v .pb. | grep -v Godeps/_workspace/src/ | tee /dev/stderr)" +# Requires that the following: +# go get -u github.com/client9/misspell/cmd/misspell +# +# be run first + +# misspell target, don't include Godeps, binaries, or python test files +misspell: + @echo "+ $@" + @test -z "$$(find . -name '*' | grep -v Godeps/_workspace/src/ | grep -v bin/ | grep -v misc/ | xargs misspell | tee /dev/stderr)" + build: go_version @echo "+ $@" @go build -tags "${NOTARY_BUILDTAGS}" -v ${GO_LDFLAGS} ./...