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