Browse Source

Report binaries sizes on build script

rfm69
Xose Pérez 6 years ago
parent
commit
6d28587047
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      code/build.sh

+ 3
- 1
code/build.sh View File

@ -90,8 +90,10 @@ else
to_build=${environments}
fi
for environment in $to_build; do echo "* espurna-$version-$environment.bin"
for environment in $to_build; do
echo -n "* espurna-$version-$environment.bin --- "
platformio run --silent --environment $environment || exit 1
stat -c %s .pioenvs/$environment/firmware.bin
mv .pioenvs/$environment/firmware.bin ../firmware/espurna-$version/espurna-$version-$environment.bin
done
echo "--------------------------------------------------------------"


Loading…
Cancel
Save