Skip to content

Instantly share code, notes, and snippets.

@mreichelt
Created May 25, 2016 21:55
Show Gist options
  • Save mreichelt/8427124ac7bad99674f8d52f913dae69 to your computer and use it in GitHub Desktop.
Save mreichelt/8427124ac7bad99674f8d52f913dae69 to your computer and use it in GitHub Desktop.
Script to output CSV file of APK size
OUTFILE=flinc/app/build/outputs/apksize.csv
echo filesize > $OUTFILE
# yep, that's for Mac. Use "stat -c %s" instead on Linux
stat -f%z flinc/app/build/outputs/apk/app-release.apk >> $OUTFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment