mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 06:54:16 +01:00
Fix and improve build script output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user