📂 Adds pre build step to ensure project structure

This commit is contained in:
Rune Harlyk
2024-05-22 17:15:49 +02:00
committed by Rune Harlyk
parent 67cb048d71
commit 2c90293fc5
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
from pathlib import Path
Import("env")
filesystem_dir = env["PROJECT_DIR"] + "/data"
Path(filesystem_dir).mkdir(exist_ok=True)