Skip to content

Instantly share code, notes, and snippets.

@joliss
Created May 13, 2013 19:40
Show Gist options
  • Save joliss/5570886 to your computer and use it in GitHub Desktop.
Save joliss/5570886 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Log the sizes of the Ember distribution like on
# https://gist.github.com/joliss/5570851
for i in {0..1000}; do
rm -r dist >&2
git submodule update --init >&2
bundle install --quiet >&2
bundle exec rake dist >&2
echo "$(git rev-parse HEAD)" "$(gzip -9 < dist/ember.min.js | wc -c)"
git checkout Gemfile.lock >&2
git checkout HEAD^ >&2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment