File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2828setlocal enabledelayedexpansion
2929
3030set " TARGET = useage"
31+ set " DEBUG = false"
3132set " OFFLINE = false"
3233set " CONCURRENCY = -T2C"
3334
3435:: Process arguments
3536:parse_args
3637if " %~1 " == " " goto done_parsing
3738
38- if /I " %~1 " == " --offline" (
39+ if /I " %~1 " == " --debug" (
40+ set " DEBUG = true"
41+ ) else if /I " %~1 " == " --offline" (
3942 set " OFFLINE = true"
4043) else if /I " %~1 " == " --help" (
4144 set " TARGET = useage"
@@ -71,6 +74,10 @@ goto parse_args
7174
7275:done_parsing
7376
77+ if " %DEBUG% " == " true" (
78+ set " BASE_CMD = %BASE_CMD% --debug"
79+ )
80+
7481if " %OFFLINE% " == " true" (
7582 set " BASE_CMD = %BASE_CMD% --offline"
7683)
@@ -119,7 +126,7 @@ goto end
119126
120127:show_useage
121128echo .
122- echo Usage: build.bat [--offline] ^ < target^ > ^ | --help
129+ echo Usage: build.bat [--debug] [-- offline] ^ < target^ > ^ | --help
123130echo .
124131echo Available build targets:
125132echo clean - Remove all built artifacts
You can’t perform that action at this time.
0 commit comments