wscript: turn on progress bar by default

This commit is contained in:
Alibek Omarov
2026-04-24 07:31:36 +05:00
parent 37ce62fa6a
commit bb7c85fd22

View File

@@ -556,6 +556,10 @@ int main(void) { return (int)BZ2_bzlibVersion(); }'''
conf.add_subproject(i.name)
def build(bld):
# enable progress bar mode if stdout is a terminal
if not bld.progress_bar and sys.stdout.isatty():
bld.progress_bar = 1
if bld.env.WAFCACHE:
bld.load('wafcache')