|
@ -104,7 +104,7 @@ build_environments() { |
|
|
for environment in $environments; do |
|
|
for environment in $environments; do |
|
|
echo -n "* espurna-$version-$environment.bin --- " |
|
|
echo -n "* espurna-$version-$environment.bin --- " |
|
|
platformio run --silent --environment $environment || exit 1 |
|
|
platformio run --silent --environment $environment || exit 1 |
|
|
if [[ $(uname -s) -eq "Darwin" ]]; then |
|
|
|
|
|
|
|
|
if [[ $(uname -s) == "Darwin" ]]; then |
|
|
stat -f %z .pioenvs/$environment/firmware.bin |
|
|
stat -f %z .pioenvs/$environment/firmware.bin |
|
|
else |
|
|
else |
|
|
stat -c %s .pioenvs/$environment/firmware.bin |
|
|
stat -c %s .pioenvs/$environment/firmware.bin |
|
|