aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-07-28 19:27:24 +0200
committerGitHub <noreply@github.com>2024-07-28 17:27:24 +0000
commit5f526d7d3dc7b63c8f6b689952b6a7039c2b7c99 (patch)
treee7d51b455ca86a8a2ad0419ab793844468243df7
parent7dec8de9147b20c014d68bb1020afe28a263b95a (diff)
downloadgitea-5f526d7d3dc7b63c8f6b689952b6a7039c2b7c99.tar.gz
gitea-5f526d7d3dc7b63c8f6b689952b6a7039c2b7c99.zip
Run `go-install` in `deps-tools` in parallel (#31711)
`go install` is far too conservative in regards to parallel HTTP requests, so we can run the commands in parallel to achieve a speedup.
-rw-r--r--Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 05d0d61a97..378de6e8f4 100644
--- a/Makefile
+++ b/Makefile
@@ -858,18 +858,19 @@ deps-backend:
.PHONY: deps-tools
deps-tools:
- $(GO) install $(AIR_PACKAGE)
- $(GO) install $(EDITORCONFIG_CHECKER_PACKAGE)
- $(GO) install $(GOFUMPT_PACKAGE)
- $(GO) install $(GOLANGCI_LINT_PACKAGE)
- $(GO) install $(GXZ_PACKAGE)
- $(GO) install $(MISSPELL_PACKAGE)
- $(GO) install $(SWAGGER_PACKAGE)
- $(GO) install $(XGO_PACKAGE)
- $(GO) install $(GO_LICENSES_PACKAGE)
- $(GO) install $(GOVULNCHECK_PACKAGE)
- $(GO) install $(ACTIONLINT_PACKAGE)
- $(GO) install $(GOPLS_PACKAGE)
+ $(GO) install $(AIR_PACKAGE) & \
+ $(GO) install $(EDITORCONFIG_CHECKER_PACKAGE) & \
+ $(GO) install $(GOFUMPT_PACKAGE) & \
+ $(GO) install $(GOLANGCI_LINT_PACKAGE) & \
+ $(GO) install $(GXZ_PACKAGE) & \
+ $(GO) install $(MISSPELL_PACKAGE) & \
+ $(GO) install $(SWAGGER_PACKAGE) & \
+ $(GO) install $(XGO_PACKAGE) & \
+ $(GO) install $(GO_LICENSES_PACKAGE) & \
+ $(GO) install $(GOVULNCHECK_PACKAGE) & \
+ $(GO) install $(ACTIONLINT_PACKAGE) & \
+ $(GO) install $(GOPLS_PACKAGE) & \
+ wait
node_modules: package-lock.json
npm install --no-save