mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-06 00:40:51 +00:00
aedi: print version
[skip ci]
This commit is contained in:
parent
4efca3c63c
commit
aedfa704dc
1 changed files with 6 additions and 0 deletions
|
@ -163,6 +163,12 @@ class Builder(object):
|
|||
state.environment = self._environment.copy()
|
||||
state.options = CommandLineOptions()
|
||||
|
||||
args = ('git', f'--git-dir={state.source}/.git', 'describe', '--tags')
|
||||
version = subprocess.run(args, env=state.environment, capture_output=True)
|
||||
|
||||
if version.returncode == 0:
|
||||
print(version.stdout.decode('ascii'))
|
||||
|
||||
target.configure(state)
|
||||
target.build(state)
|
||||
target.post_build(state)
|
||||
|
|
Loading…
Reference in a new issue