This commit is contained in:
aozhiwei 2018-09-15 10:11:31 +08:00
parent 4f2dc9683c
commit 7e3405a9ac

View File

@ -23,3 +23,5 @@ for proj in projects:
if not os.path.exists('repository/' + path + '/' + name): if not os.path.exists('repository/' + path + '/' + name):
os.system('cd repository/' + path + ' && git clone ' + http_url_to_repo) os.system('cd repository/' + path + ' && git clone ' + http_url_to_repo)
os.system('cd repository/' + path + ' && git pull') os.system('cd repository/' + path + ' && git pull')
os.system('cd repository/' + path + ' && git submodule init')
os.system('cd repository/' + path + ' && git submodule update')