btclock_v3/scripts/extra_script.py
2023-11-08 12:18:59 +01:00

8 lines
207 B
Python

Import("env")
# Build web interface before building FS
def before_buildfs(source, target, env):
env.Execute("cd data && yarn && yarn build")
env.AddPreAction("$BUILD_DIR/littlefs.bin", before_buildfs)