|
|
@ -42,10 +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 |
|
|
|
mkdir -p ../firmware/espurna-$version |
|
|
|
for environment in $environments; do |
|
|
|
echo "* espurna-$version-$environment.bin" |
|
|
|
platformio run --silent --environment $environment || exit |
|
|
|
mv .pioenvs/$environment/firmware.bin firmware/espurna-$version/espurna-$version-$environment.bin |
|
|
|
mv .pioenvs/$environment/firmware.bin ../firmware/espurna-$version/espurna-$version-$environment.bin |
|
|
|
done |
|
|
|
echo "--------------------------------------------------------------" |