Explorar el Código

Add failure message as well

Daniel Hix hace 4 años
padre
commit
38505a6c37
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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