From: Bernie Innocenti Date: Thu, 24 Jan 2019 22:58:57 +0000 (+1300) Subject: Log binary size in release.sh to help debug bloat X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=80c5b26f6bb18d4f7eb0d75caaaf4906630db6de;p=mandelwow.git Log binary size in release.sh to help debug bloat --- diff --git a/release.sh b/release.sh index c2a5883..f52178c 100755 --- a/release.sh +++ b/release.sh @@ -1,4 +1,14 @@ set -e cargo build --release --no-default-features strip target/release/mandelwow + +( + echo "---------------------------------" + date + git branch -v + rustc --version + ls -la target/release/mandelwow + size --format=sysv target/release/mandelwow +) | tee -a size.log + upx -9 target/release/mandelwow