Browse Source

Fix and improve build script output

fastled
Xose Pérez 7 years ago
parent
commit
55f529e65f
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      code/build.sh

+ 4
- 3
code/build.sh View File

@ -35,12 +35,13 @@ mkdir -p firmware
# Recreate web interface
echo "--------------------------------------------------------------"
echo "Building web interface..."
node -S node_modules/gulp/bin/gulp.js || exit
node node_modules/gulp/bin/gulp.js || exit
# Build all the required firmwares
echo "--------------------------------------------------------------"
echo "Building firmware images..."
for environment in $environments; do
echo "--------------------------------------------------------------"
echo "Building espurna-$version-$environment.bin..."
echo "* espurna-$version-$environment.bin"
platformio run -s -e $environment || exit
mv .pioenvs/$environment/firmware.bin firmware/espurna-$version-$environment.bin
done


Loading…
Cancel
Save