From 487eb16891004c28e3002c3021945d8aee7fcc78 Mon Sep 17 00:00:00 2001 From: Antanas Bastys Date: Mon, 9 Nov 2020 18:12:42 +0200 Subject: [PATCH 1/2] Optimize linter for all case --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 829c2a203b..0831a02610 100644 --- a/Makefile +++ b/Makefile @@ -257,7 +257,7 @@ SUBDIR_TARGETS := \ genny-gen \ license-gen \ all-gen \ - lint + all-gen .PHONY: test-ci-unit test-ci-unit: test-base @@ -478,3 +478,8 @@ clean: clean-build @rm -rf ./src/ctl/ui/build .DEFAULT_GOAL := all + +lint: install-tools linter + @echo "--- :golang: Running linter on 'src'" + ./scripts/run-ci-lint.sh $(tools_bin_path)/golangci-lint ./src/... + ./bin/linter ./src/... \ No newline at end of file From a58c6effeb594ac90720a89b7eaa5284254ce45b Mon Sep 17 00:00:00 2001 From: Antanas Bastys Date: Mon, 9 Nov 2020 18:37:47 +0200 Subject: [PATCH 2/2] new line --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0831a02610..eed0a7076f 100644 --- a/Makefile +++ b/Makefile @@ -482,4 +482,4 @@ clean: clean-build lint: install-tools linter @echo "--- :golang: Running linter on 'src'" ./scripts/run-ci-lint.sh $(tools_bin_path)/golangci-lint ./src/... - ./bin/linter ./src/... \ No newline at end of file + ./bin/linter ./src/...