1
Fork 0

bootstrap.py: support verbose for submodules

This commit is contained in:
Tatsuyuki Ishi 2017-05-25 14:00:05 +09:00
parent 46ebd832e3
commit 15c26c92cc

View file

@ -571,11 +571,11 @@ class RustBuild(object):
(self.get_toml('jemalloc') or self.get_mk('CFG_JEMALLOC_ROOT')))) (self.get_toml('jemalloc') or self.get_mk('CFG_JEMALLOC_ROOT'))))
] ]
run(["git", "submodule", "update", run(["git", "submodule", "update",
"--init"] + submodules, cwd=self.rust_root) "--init"] + submodules, cwd=self.rust_root, verbose=self.verbose)
run(["git", "submodule", "-q", "foreach", "git", run(["git", "submodule", "-q", "foreach", "git",
"reset", "-q", "--hard"], cwd=self.rust_root) "reset", "-q", "--hard"], cwd=self.rust_root, verbose=self.verbose)
run(["git", "submodule", "-q", "foreach", "git", run(["git", "submodule", "-q", "foreach", "git",
"clean", "-qdfx"], cwd=self.rust_root) "clean", "-qdfx"], cwd=self.rust_root, verbose=self.verbose)
def bootstrap(): def bootstrap():