From 925af81e9b9e73d3f2d4f5854bfc2797376cc967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 23 Jan 2017 11:50:52 +0100 Subject: [PATCH] Changed fs build command to use local gulp instance --- code/build-fs | 2 ++ code/pio_hooks.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 code/build-fs diff --git a/code/build-fs b/code/build-fs new file mode 100755 index 00000000..d2ca4286 --- /dev/null +++ b/code/build-fs @@ -0,0 +1,2 @@ +#!/bin/bash +node node_modules/gulp/bin/gulp.js diff --git a/code/pio_hooks.py b/code/pio_hooks.py index 5b818421..e6037ad8 100644 --- a/code/pio_hooks.py +++ b/code/pio_hooks.py @@ -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)