mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-18 14:17:08 +01:00
Beautify build script size output
This commit is contained in:
@@ -125,8 +125,9 @@ build_environments() {
|
||||
mkdir -p $destination/espurna-$version
|
||||
|
||||
for environment in $environments; do
|
||||
echo -n "* espurna-$version-$environment.bin --- "
|
||||
echo "* espurna-$version-$environment.bin"
|
||||
platformio run --silent --environment $environment || exit 1
|
||||
echo -n "SIZE: "
|
||||
stat_bytes .pio/build/$environment/firmware.bin
|
||||
[[ "${TRAVIS_BUILD_STAGE_NAME}" = "Test" ]] || \
|
||||
mv .pio/build/$environment/firmware.bin $destination/espurna-$version/espurna-$version-$environment.bin
|
||||
|
||||
Reference in New Issue
Block a user