btclock_v3/scripts/extra_script.py

8 lines
207 B
Python
Raw Normal View History

2023-11-07 20:25:54 +00:00
Import("env")
# Build web interface before building FS
def before_buildfs(source, target, env):
env.Execute("cd data && yarn && yarn build")
2023-11-08 11:18:59 +00:00
env.AddPreAction("$BUILD_DIR/littlefs.bin", before_buildfs)