Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 6cd9042

Browse files
edg2sMatmaRex
authored andcommitted
Run git submodule update on WikiLambda
Part of #385
1 parent 1cc44c3 commit 6cd9042

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

new.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function set_progress( float $pc, string $label ) {
375375
$n++;
376376
}
377377

378-
// TODO: Make this a loop if repos other than VE need to update submodules
378+
// TODO: Make this a loop
379379
set_progress( 60, 'Fetching submodules...' );
380380
$error = shell_echo( __DIR__ . '/new/submodules.sh', $baseEnv );
381381
if ( $error ) {

new/submodules.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ if [ -d $PATCHDEMO/wikis/$NAME/w/extensions/VisualEditor ]; then
55
cd $PATCHDEMO/wikis/$NAME/w/extensions/VisualEditor
66
git submodule update --init --recursive
77
fi
8+
9+
if [ -d $PATCHDEMO/wikis/$NAME/w/extensions/WikiLambda ]; then
10+
cd $PATCHDEMO/wikis/$NAME/w/extensions/WikiLambda
11+
git submodule update --init --recursive
12+
fi

0 commit comments

Comments
 (0)