Skip to content

Commit

Permalink
build: No longer require -j4 in make dev
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MoritzWeber0 committed Nov 6, 2023
1 parent 7af54dd commit 97e6db6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 97e6db6

Please sign in to comment.