mirror of
https://github.com/btclock/btclock_v3.git
synced 2024-11-19 07:20:02 +01:00
8 lines
205 B
Python
8 lines
205 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/spiffs.bin", before_buildfs)
|