From 80c5b26f6bb18d4f7eb0d75caaaf4906630db6de Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Fri, 25 Jan 2019 11:58:57 +1300 Subject: [PATCH] Log binary size in release.sh to help debug bloat --- release.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.25.1