📂 Adds pre build step to ensure project structure
This commit is contained in:
@@ -52,6 +52,7 @@ lib_deps =
|
|||||||
; plageoj/UrlEncode@ ^1.0.1
|
; plageoj/UrlEncode@ ^1.0.1
|
||||||
; board_build.partitions = config/no_oat.csv
|
; board_build.partitions = config/no_oat.csv
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
|
pre:scripts/pre_build.py
|
||||||
pre:scripts/build_app.py
|
pre:scripts/build_app.py
|
||||||
pre:scripts/generate_cert_bundle.py
|
pre:scripts/generate_cert_bundle.py
|
||||||
scripts/rename_fw.py
|
scripts/rename_fw.py
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
Import("env")
|
||||||
|
|
||||||
|
filesystem_dir = env["PROJECT_DIR"] + "/data"
|
||||||
|
|
||||||
|
Path(filesystem_dir).mkdir(exist_ok=True)
|
||||||
Reference in New Issue
Block a user