aedi: create source path directory

This commit is contained in:
alexey.lysiuk 2022-08-16 12:11:04 +03:00
parent ff6101c1b1
commit 93210b1a81

View file

@ -58,6 +58,8 @@ class Builder(object):
self._target = self._targets[arguments.target]
state.source = state.source_path / self._target.name
state.external_source = False
os.makedirs(state.source_path, exist_ok=True)
else:
assert arguments.source
state.source = Path(arguments.source).absolute()