mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
build: reconfigure when gyp files change on Windows
Previously only changes to .gypi files trigger a reconfigure on Windows. PR-URL: https://github.com/nodejs/node/pull/39066 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
parent
4c2b813799
commit
a657f250f1
|
|
@ -333,7 +333,7 @@ if defined projgen goto run-configure
|
|||
if not exist node.sln goto run-configure
|
||||
if not exist .gyp_configure_stamp goto run-configure
|
||||
echo %configure_flags% > .tmp_gyp_configure_stamp
|
||||
where /R . /T *.gyp? >> .tmp_gyp_configure_stamp
|
||||
where /R . /T *.gyp* >> .tmp_gyp_configure_stamp
|
||||
fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1
|
||||
if errorlevel 1 goto run-configure
|
||||
|
||||
|
|
@ -354,7 +354,7 @@ if not exist node.sln goto create-msvs-files-failed
|
|||
set project_generated=1
|
||||
echo Project files generated.
|
||||
echo %configure_flags% > .gyp_configure_stamp
|
||||
where /R . /T *.gyp? >> .gyp_configure_stamp
|
||||
where /R . /T *.gyp* >> .gyp_configure_stamp
|
||||
|
||||
:msbuild
|
||||
@rem Skip build if requested.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user