From 93210b1a8186f35f6fee251277767fa6bf1d3889 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 16 Aug 2022 12:11:04 +0300 Subject: [PATCH] aedi: create source path directory --- aedi/builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aedi/builder.py b/aedi/builder.py index caf24b2f..c4e46574 100644 --- a/aedi/builder.py +++ b/aedi/builder.py @@ -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()