diff --git a/code/build.sh b/code/build.sh index 3c051dc8..7dec02e2 100755 --- a/code/build.sh +++ b/code/build.sh @@ -28,6 +28,12 @@ echo "Building for version $version" # Create output folder mkdir -p firmware +if [ ! -e node_modules/gulp/bin/gulp.js ]; then + echo "--------------------------------------------------------------" + echo "Installing dependencies..." + npm install --only=dev +fi + # Recreate web interface echo "--------------------------------------------------------------" echo "Building web interface..."