Makefile: clean golangci-lint cache on make clean
To speedup `make lint` we use a local cache. It seems that there is no sane way to check and just update the cache, so we'll just provide an option to wipe it. Using the cache does reduce the time of `make lint` from 1 minute 15sec to 1 sec on my PC. So for consecutive runs, the cache still makes sense.
This commit is contained in:
parent
a7cd521325
commit
69525b7ce6
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -169,6 +169,7 @@ clean:
|
|||
rm -rf $(CURDIR)/rpmbuild
|
||||
rm -rf container_composer_golangci_built.info
|
||||
rm -rf $(BUILDDIR)/$(PROCESSED_TEMPLATE_DIR)
|
||||
rm -rf $(GOLANGCI_LINT_CACHE_DIR)
|
||||
|
||||
.PHONY: push-check
|
||||
push-check: lint build unit-tests srpm man
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue