summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2017-05-29 22:35:52 -0400
committerDave Henderson <dhenderson@gmail.com>2017-05-29 22:35:52 -0400
commit49b3104dc50a1cf14ca4a0caaa8bd91f6317c298 (patch)
treedfe31234b6f4a503538723e14b84b96b831dac16 /Makefile
parenta5cfb548468ccba99cbfe221d89111e254ed52b7 (diff)
Adding lint target to Makefile
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e9b7a44..2f58d86e 100644
--- a/Makefile
+++ b/Makefile
@@ -84,4 +84,7 @@ docs/themes/hugo-material-docs:
gen-docs: docs/themes/hugo-material-docs
cd docs/; hugo
-.PHONY: gen-changelog clean test build-x compress-all build-release build build-integration-image test-integration-docker
+lint:
+ gometalinter -j 1 --vendor --deadline 70s --disable gotype --enable gofmt --enable goimports --enable misspell --enable unused --disable gas
+
+.PHONY: gen-changelog clean test build-x compress-all build-release build build-integration-image test-integration-docker gen-docs lint