Skip to content

Commit a720333

Browse files
committed
Add debug log level to make build-dev and add new make run-debug
Update WPT submodule, now includes xhr/formdata tests.
1 parent eed3d27 commit a720333

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@ build:
6969
## Build in debug mode
7070
build-dev:
7171
@printf "\e[36mBuilding (debug)...\e[0m\n"
72-
@$(ZIG) build -Dgit_commit=$$(git rev-parse --short HEAD) || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;)
72+
@$(ZIG) build -Dgit_commit=$$(git rev-parse --short HEAD) -Dlog_level=debug || (printf "\e[33mBuild ERROR\e[0m\n"; exit 1;)
7373
@printf "\e[33mBuild OK\e[0m\n"
7474

7575
## Run the server in debug mode
7676
run: build
7777
@printf "\e[36mRunning...\e[0m\n"
7878
@./zig-out/bin/lightpanda || (printf "\e[33mRun ERROR\e[0m\n"; exit 1;)
7979

80+
run-debug: build-dev
81+
@printf "\e[36mRunning...\e[0m\n"
82+
@./zig-out/bin/lightpanda || (printf "\e[33mRun ERROR\e[0m\n"; exit 1;)
83+
8084
## Run a JS shell in debug mode
8185
shell:
8286
@printf "\e[36mBuilding shell...\e[0m\n"

0 commit comments

Comments
 (0)