Fix golangci-lint target (#12985)
Этот коммит содержится в:
коммит произвёл
jfrerich
родитель
0697f5206c
Коммит
0b24c336b3
2
Makefile
2
Makefile
@@ -175,7 +175,7 @@ gofmt: ## Runs gofmt against all packages.
|
|||||||
|
|
||||||
golangci-lint: ## Run golangci-lint on codebasis
|
golangci-lint: ## Run golangci-lint on codebasis
|
||||||
# https://stackoverflow.com/a/677212/1027058 (check if a command exists or not)
|
# https://stackoverflow.com/a/677212/1027058 (check if a command exists or not)
|
||||||
@if ! [ -x "$$(command -v golangci-lintt)" ]; then \
|
@if ! [ -x "$$(command -v golangci-lint)" ]; then \
|
||||||
echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \
|
echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user