Browse Source

Recover size report in build script

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

+ 2
- 2
code/build.sh View File

@ -89,8 +89,9 @@ build_environments() {
mkdir -p ../firmware/espurna-$version
for environment in $environments; do
echo "* espurna-$version-$environment.bin"
echo -n "* espurna-$version-$environment.bin --- "
platformio run --silent --environment $environment || exit 1
stat -c %s .pioenvs/$environment/firmware.bin
[[ "${TRAVIS_BUILD_STAGE_NAME}" = "Test" ]] || \
mv .pioenvs/$environment/firmware.bin ../firmware/espurna-$version/espurna-$version-$environment.bin
done
@ -130,4 +131,3 @@ fi
build_webui
build_environments

Loading…
Cancel
Save