Skip to content

Commit

Permalink
Fail when lint fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Shah committed Apr 9, 2018
1 parent 93ac3c3 commit f172d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .build/lint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ lint:
$(ECHO_V)git grep -i fixme | grep -v -e vendor -e $(_THIS_MAKEFILE) -e CONTRIBUTING.md | tee -a $(LINT_LOG)
@echo "Checking for imports of log package"
$(ECHO_V)go list -f '{{ .ImportPath }}: {{ .Imports }}' $(shell glide nv) | grep -e "\blog\b" | $(FILTER_LOG) | tee -a $(LINT_LOG)
$(ECHO_V)[ ! -s $(LINT_LOG) ]

0 comments on commit f172d36

Please sign in to comment.