Skip to content

Commit 2aaf2f2

Browse files
joyeecheungdanielleadams
authored andcommitted
build: reconfigure when gyp files change on Windows
Previously only changes to .gypi files trigger a reconfigure on Windows. PR-URL: #39066 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent e4f802d commit 2aaf2f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcbuild.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ if defined projgen goto run-configure
295295
if not exist node.sln goto run-configure
296296
if not exist .gyp_configure_stamp goto run-configure
297297
echo %configure_flags% > .tmp_gyp_configure_stamp
298-
where /R . /T *.gyp? >> .tmp_gyp_configure_stamp
298+
where /R . /T *.gyp* >> .tmp_gyp_configure_stamp
299299
fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1
300300
if errorlevel 1 goto run-configure
301301

@@ -316,7 +316,7 @@ if not exist node.sln goto create-msvs-files-failed
316316
set project_generated=1
317317
echo Project files generated.
318318
echo %configure_flags% > .gyp_configure_stamp
319-
where /R . /T *.gyp? >> .gyp_configure_stamp
319+
where /R . /T *.gyp* >> .gyp_configure_stamp
320320

321321
:msbuild
322322
@rem Skip build if requested.

0 commit comments

Comments
 (0)