Browse Source

Make building the web interface easier by automatically installing the dependencies.

fastled
Hermann Kraus 7 years ago
parent
commit
a4de1ddecf
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      code/build.sh

+ 6
- 0
code/build.sh View File

@ -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..."


Loading…
Cancel
Save