Skip to content

Commit b33a558

Browse files
committed
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.
1 parent 4428775 commit b33a558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ clean: db-tests-prune
180180
rm -rf $(BUILDDIR)/$(PROCESSED_TEMPLATE_DIR)
181181
rm -rf $(GOLANGCI_LINT_CACHE_DIR)
182182
rm -rf $(BUILDDIR)/build/
183+
rm -rf $(GOLANGCI_LINT_CACHE_DIR)
183184
rm -f $(BUILDDIR)/go.local.*
184185
rm -f $(BUILDDIR)/container_worker_built.info
185186
rm -f $(BUILDDIR)/container_composer_built.info

0 commit comments

Comments
 (0)