Browse Source

Changed fs build command to use local gulp instance

fastled
Xose Pérez 8 years ago
parent
commit
925af81e9b
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      code/build-fs
  2. +1
    -1
      code/pio_hooks.py

+ 2
- 0
code/build-fs View File

@ -0,0 +1,2 @@
#!/bin/bash
node node_modules/gulp/bin/gulp.js

+ 1
- 1
code/pio_hooks.py View File

@ -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)

Loading…
Cancel
Save