|
|
@ -6,6 +6,6 @@ from SCons.Script import DefaultEnvironment |
|
|
|
env = DefaultEnvironment() |
|
|
|
|
|
|
|
def before_build_spiffs(source, target, env): |
|
|
|
env.Execute("gulp") |
|
|
|
env.Execute("node node_modules/gulp/bin/gulp.js") |
|
|
|
|
|
|
|
env.AddPreAction(".pioenvs/%s/spiffs.bin" % env['PIOENV'], before_build_spiffs) |