mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: turn on progress bar by default
This commit is contained in:
4
wscript
4
wscript
@@ -556,6 +556,10 @@ int main(void) { return (int)BZ2_bzlibVersion(); }'''
|
|||||||
conf.add_subproject(i.name)
|
conf.add_subproject(i.name)
|
||||||
|
|
||||||
def build(bld):
|
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:
|
if bld.env.WAFCACHE:
|
||||||
bld.load('wafcache')
|
bld.load('wafcache')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user