build.bat: better indentation, remove useless quotes and escape the special characters in the help screen
This commit is contained in:
parent
f7d0d8129c
commit
3eac886591
12
build.bat
12
build.bat
|
@ -28,13 +28,13 @@ REM parse qmakespec to see if it's some msvc
|
|||
)
|
||||
|
||||
if "%2" == "" set TARGET=release
|
||||
if "%2" == "release" set TARGET=release
|
||||
if "%2" == "debug" set TARGET=debug
|
||||
if "%2" == "release" set TARGET=release
|
||||
|
||||
if "%1" == "all" goto cppcheck
|
||||
if "%1" == "cppcheck" goto cppcheck
|
||||
if "%1" == "gui" goto gui
|
||||
if "%1" == "tests" goto tests
|
||||
if "%1" == "all" goto cppcheck
|
||||
goto help
|
||||
|
||||
:cppcheck
|
||||
|
@ -61,9 +61,9 @@ popd
|
|||
goto end
|
||||
|
||||
:help
|
||||
echo "Syntax: build <target> [debug|release]"
|
||||
echo " where <target> is any of cppcheck/gui/tests/all"
|
||||
echo " debug or release define used configuration"
|
||||
echo " all- target builds both cppcheck and gui.
|
||||
echo Syntax: build ^<target^> [debug^|release]
|
||||
echo where ^<target^> is any of cppcheck/gui/tests/all
|
||||
echo debug or release define used configuration
|
||||
echo all- target builds both cppcheck and gui.
|
||||
|
||||
:end
|
||||
|
|
Loading…
Reference in New Issue