Browse Source

Add failure message as well

Daniel Hix 4 năm trước cách đây
mục cha
commit
38505a6c37
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -117,6 +117,7 @@ lint.install:
 lint: lint.check ## run golangci-lint
 	@if ! golangci-lint run; then \
 		echo -e "\033[0;33mgolangci-lint failed: some checks can be fixed with \`\033[0;32mmake fmt\033[0m\033[0;33m\`\033[0m"; \
+		@$(FAIL) Linting failed
 		exit 1; \
 	fi
 	@$(OK) Finished linting