From 97e6db6d7b5dad7c98402cf97ad4fe73348c3c91 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Mon, 6 Nov 2023 15:02:42 +0100 Subject: [PATCH] build: No longer require `-j4` in `make dev` Developers can simply run `make dev` instead of `make -j4 dev`. Since the target does only work with parallel execution endabled, the parallel execution is now the default. --- Makefile | 5 +++-- docs/docs/development/index.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fc47f544f..5aaff3f8a 100644 --- a/Makefile +++ b/Makefile @@ -157,8 +157,9 @@ provision-guacamole: kubectl exec -i --context k3d-$(CLUSTER_NAME) --namespace $(NAMESPACE) deployment/$(RELEASE)-guacamole-postgres -- psql -U guacamole guacamole @echo "Guacamole database initialized sucessfully."; -# Execute with `make -j4 dev` -dev: dev-oauth-mock dev-frontend dev-backend dev-docs + +dev: + $(MAKE) -j4 dev-frontend dev-backend dev-oauth-mock dev-docs dev-frontend: $(MAKE) -C frontend dev diff --git a/docs/docs/development/index.md b/docs/docs/development/index.md index ed418dc55..716788acb 100644 --- a/docs/docs/development/index.md +++ b/docs/docs/development/index.md @@ -57,7 +57,7 @@ initial setup (only required once): Then, run the following command to start the dev environment: ```zsh -make -j4 dev +make dev ``` If everything went well, the frontend and backend should be running now: