Apply suggestions from code review

Co-authored-by: Pierre Tachoire <pierre@lightpanda.io>
This commit is contained in:
Karl Seguin
2025-05-22 15:36:55 +08:00
committed by GitHub
parent a720333c0f
commit 72a983f6d8

View File

@@ -72,11 +72,12 @@ build-dev:
@$(ZIG) build -Dgit_commit=$$(git rev-parse --short HEAD) -Dlog_level=debug || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;)
@printf "\e[33mBuild OK\e[0m\n"
## Run the server in debug mode
## Run the server in release mode
run: build
@printf "\e[36mRunning...\e[0m\n"
@./zig-out/bin/lightpanda || (printf "\e[33mRun ERROR\e[0m\n"; exit 1;)
## Run the server in debug mode
run-debug: build-dev
@printf "\e[36mRunning...\e[0m\n"
@./zig-out/bin/lightpanda || (printf "\e[33mRun ERROR\e[0m\n"; exit 1;)