mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-21 15:47:06 +01:00
Beautify build script size output
This commit is contained in:
@@ -4,9 +4,9 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8285/ESP8266 based smar
|
||||
It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries.
|
||||
|
||||
[](CHANGELOG.md)
|
||||
[](https://github.com/xoseperez/espurna/tree/master/)
|
||||
[](https://github.com/xoseperez/espurna/tree/dev/)
|
||||
[](LICENSE)
|
||||
[](https://travis-ci.org/xoseperez/espurna)
|
||||
[](https://travis-ci.org/xoseperez/espurna)
|
||||
[](https://www.codacy.com/app/xoseperez/espurna/dashboard)
|
||||
<br />
|
||||
[](https://github.com/xoseperez/espurna/releases/latest)
|
||||
|
||||
@@ -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