Skip to content

Commit 3084681

Browse files
authored
Add all git submodules to bootstrap.py. NFC (#23595)
This means that if any of these submodules are updated the bootstrap script will run git submodule update. This is especially useful for folks like me that have bootstrap run on checkout since it works when bisecting across submodule updates.
1 parent b842f22 commit 3084681

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

bootstrap.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@
2626
'tools/maint/run_python.bat',
2727
'tools/maint/run_python.sh',
2828
'tools/maint/run_python.ps1',
29-
],
30-
[sys.executable, 'tools/maint/create_entry_points.py']),
31-
('git submodules', ['test/third_party/posixtestsuite/'], [shutil.which('git'), 'submodule', 'update', '--init']),
29+
], [sys.executable, 'tools/maint/create_entry_points.py']),
30+
('git submodules', [
31+
'test/third_party/posixtestsuite/',
32+
'test/third_party/googletest',
33+
'test/third_party/wasi-test-suite',
34+
], [shutil.which('git'), 'submodule', 'update', '--init']),
3235
]
3336

3437

0 commit comments

Comments
 (0)