Browse Source

Moving firmware images folder

i18n
Xose Pérez 6 years ago
parent
commit
42847e53d8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/build.sh

+ 2
- 2
code/build.sh View File

@ -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 "--------------------------------------------------------------"

Loading…
Cancel
Save