Skip to content

Commit

Permalink
Allow setting configuration file in run target
Browse files Browse the repository at this point in the history
  • Loading branch information
senier committed Nov 2, 2024
1 parent 37210c0 commit 0aa4b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ $(addprefix frontend/dist/,$(FRONTEND_FILES)): third-party/bulma third-party/fon
.PHONY: run run_frontend run_backend

run:
tmux new-window $(MAKE) run_frontend
tmux new-window $(MAKE) run_backend
tmux new-window $(MAKE) CONFIG_FILE=$(CONFIG_FILE) run_frontend
tmux new-window $(MAKE) CONFIG_FILE=$(CONFIG_FILE) run_backend

run_frontend:
PATH=~/.cargo/bin:${PATH} trunk --config frontend/Trunk.toml serve --port 8000
Expand Down

0 comments on commit 0aa4b9c

Please sign in to comment.