diff options
| author | Joseph Richey <joerichey@google.com> | 2018-09-05 22:49:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-05 22:49:42 -0700 |
| commit | 0294624efdef9b78e305453b740d380a64583324 (patch) | |
| tree | f54c9498224727db334d2e9b2b5bc0707838da67 /Makefile | |
| parent | 0f451a722918f39fa07bd9337e4a14ca154b13ae (diff) | |
| parent | f270dfadb9af9e81ae4c884a3ea45ca4618a7a05 (diff) | |
Merge pull request #106 from fristonio/spell-check
feat(spell-check): add make command for spell check.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -102,6 +102,7 @@ lint: $(BIN)/golint $(BIN)/megacheck go vet ./... go list ./... | xargs -L1 golint -set_exit_status megacheck -unused.exported -simple.exit-non-zero ./... + misspell -source=text $(FILES) clean: rm -f $(BIN)/$(NAME) $(PAM_MODULE) $(TOOLS) coverage.out $(COVERAGE_FILES) @@ -162,7 +163,7 @@ uninstall: rm -f $(DESTDIR)/$(NAME) $(PAM_MODULE_DIR)/$(PAM_MODULE) $(PAM_CONFIG_DIR)/$(NAME) #### Tool Building Commands #### -TOOLS := $(addprefix $(BIN)/,protoc golint protoc-gen-go goimports megacheck gocovmerge) +TOOLS := $(addprefix $(BIN)/,protoc golint protoc-gen-go goimports megacheck gocovmerge misspell) .PHONY: tools tools: $(TOOLS) @@ -181,6 +182,9 @@ $(BIN)/megacheck: $(BIN)/gocovmerge: GO111MODULE=off go get github.com/wadey/gocovmerge GO111MODULE=off go build -o $@ github.com/wadey/gocovmerge +$(BIN)/misspell: + GO111MODULE=off go get github.com/client9/misspell + GO111MODULE=off go build -o $@ github.com/client9/misspell/cmd/misspell # Non-go tools downloaded from appropriate repository PROTOC_VERSION := 3.6.1 |