aedi: output proper action name when building or generating from directory under source control

This commit is contained in:
alexey.lysiuk 2024-06-26 10:08:19 +03:00
parent ff8cc7b971
commit 81b9e372d3

View file

@ -156,7 +156,8 @@ class Builder(object):
self._create_prefix_directory() self._create_prefix_directory()
if version := state.source_version(): if version := state.source_version():
print(f'Building {version}') action = 'Generating' if state.xcode else 'Building'
print(f'{action} {version}')
if target.multi_platform and not state.xcode: if target.multi_platform and not state.xcode:
self._build_multiple_platforms(target) self._build_multiple_platforms(target)