Skip to content

Commit

Permalink
Added failint to make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kadern0 committed Feb 17, 2020
1 parent f6e1b85 commit b22ef24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ failint:
# --mem-profile-path string Path to memory profile output file
#
# to debug big allocations during linting.
lint: check-git $(GOLANGCILINT) $(MISSPELL)
lint: check-git $(GOLANGCILINT) $(MISSPELL) failint
@echo ">> examining all of the Go files"
@go vet -stdmethods=false ./pkg/... ./cmd/... && go vet doc.go
@echo ">> linting all of the Go files GOGC=${GOGC}"
Expand All @@ -309,7 +309,7 @@ lint: check-git $(GOLANGCILINT) $(MISSPELL)
@echo ">> ensuring Copyright headers"
@go run ./scripts/copyright
$(call require_clean_work_tree,"detected files without copyright")
failint


.PHONY: web-serve
web-serve: web-pre-process $(HUGO)
Expand Down

0 comments on commit b22ef24

Please sign in to comment.