2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Merge branch 'update-install-colors' into 'master'

Update colors of install step

Closes #2238

See merge request ita1024/waf!2234
This commit is contained in:
ita1024 2019-05-17 05:46:17 +00:00
commit b1ac2bc686

View File

@ -1164,7 +1164,11 @@ class inst(Task.Task):
return False
if not self.generator.bld.progress_bar:
Logs.info('+ install %s (from %s)', tgt, lbl)
c1 = Logs.colors.NORMAL
c2 = Logs.colors.BLUE
Logs.info('%s+ install %s%s%s (from %s)', c1, c2, tgt, c1, lbl)
# Give best attempt at making destination overwritable,
# like the 'install' utility used by 'make install' does.