Skip to content

Commit

Permalink
[linter] more optimal linter invocation for "all" case (#2863)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antanukas authored Nov 18, 2020
1 parent d975e69 commit 91813c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ SUBDIR_TARGETS := \
genny-gen \
license-gen \
all-gen \
lint
all-gen

.PHONY: test-ci-unit
test-ci-unit: test-base
Expand Down Expand Up @@ -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/...

0 comments on commit 91813c5

Please sign in to comment.