File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ set noperfctr_msi_arg=
3636set i18n_arg =
3737set download_arg =
3838set release_urls_arg =
39+ set build_release =
3940
4041:next-arg
41- set build_release =
4242if " %1 " == " " goto args-done
4343if /i " %1 " == " debug" set config = Debug& goto arg-ok
4444if /i " %1 " == " release" set config = Release& goto arg-ok
@@ -78,17 +78,17 @@ echo Warning: ignoring invalid command line option `%1`.
7878:arg-ok
7979shift
8080goto next-arg
81+
82+ :args-done
83+
8184if defined build_release (
82- set nosnapshot = 1
8385 set config = Release
8486 set msi = 1
8587 set licensertf = 1
8688 set download_arg = " --download=all"
8789 set i18n_arg = small-icu
8890)
8991
90-
91- :args-done
9292if " %config% " == " Debug" set debug_arg = --debug
9393if defined nosnapshot set snapshot_arg = --without-snapshot
9494if defined noetw set noetw_arg = --without-etw& set noetw_msi_arg = /p:NoETW=1
@@ -260,10 +260,10 @@ echo vcbuild.bat : builds release build
260260echo vcbuild.bat debug : builds debug build
261261echo vcbuild.bat release msi : builds release build and MSI installer package
262262echo vcbuild.bat test : builds debug build and runs tests
263+ echo vcbuild.bat build-release : builds the release distribution as used by nodejs.org
263264goto exit
264265
265266:exit
266- echo vcbuild.bat build-release : builds the release distribution as used by nodejs.org
267267goto :EOF
268268
269269rem ***************
You can’t perform that action at this time.
0 commit comments