2023-11-07 21:25:54 +01: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 12:18:59 +01:00
|
|
|
env.AddPreAction("$BUILD_DIR/littlefs.bin", before_buildfs)
|