You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
444 B
22 lines
444 B
4 years ago
|
#!/usr/bin/env python3
|
||
|
|
||
|
import glob, os, platform, re, shutil, sys, tempfile
|
||
|
|
||
|
assert sys.version_info >= ( 3, 8 )
|
||
|
|
||
|
from Detail.Config import config
|
||
|
import Detail.Utility as utility
|
||
|
|
||
|
def configureSubmodules():
|
||
|
|
||
|
utility.printHeading( "Updating Git submodules..." )
|
||
|
|
||
|
os.chdir( config.toplevelPath() )
|
||
|
|
||
|
utility.runCommand( "git submodule update --init --remote --recursive" )
|
||
|
|
||
|
|
||
|
for k, v in config.__dict__.items():
|
||
|
print( k, "\t", v )
|
||
|
|