Browse Source

win,build: fail on invalid option in vcbuild

PR-URL: https://github.com/nodejs/node/pull/8412
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v4.x
João Reis 9 years ago
committed by Myles Borins
parent
commit
b3090f8e64
  1. 3
      vcbuild.bat

3
vcbuild.bat

@ -78,7 +78,8 @@ if /i "%1"=="download-all" set download_arg="--download=all"&goto arg-ok
if /i "%1"=="ignore-flaky" set test_args=%test_args% --flaky-tests=dontcare&goto arg-ok
if /i "%1"=="enable-vtune" set enable_vtune_profiling="--enable-vtune-profiling"&goto arg-ok
echo Warning: ignoring invalid command line option `%1`.
echo Error: invalid command line option `%1`.
exit /b 1
:arg-ok
:arg-ok

Loading…
Cancel
Save