Created
January 24, 2017 00:21
-
-
Save koron/d0f046d719a2de292306f14427388d0b to your computer and use it in GitHub Desktop.
golint with Makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GO_SUBPKGS = $(shell go list ./... | grep -v /vendor/ | sed -e "s!$$(go list)!.!") | |
lint: | |
@echo "golint" | |
@for f in $(GO_SUBPKGS) ; do golint $$f ; done | |
@echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment