From 6d285870479b63983aede2faae4a1e1358122083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Fri, 29 Jun 2018 22:35:47 +0200 Subject: [PATCH] Report binaries sizes on build script --- code/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/build.sh b/code/build.sh index 3afc2169..beda36b3 100755 --- a/code/build.sh +++ b/code/build.sh @@ -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 "--------------------------------------------------------------"