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