e58f7866ba4afb1e9496799d48a5e841ebf91849
[dygraphs.git] / scripts / weigh-in.sh
1 #!/bin/bash
2 # This tracks the effect of pull requests on the size of dygraphs.
3 # See https://github.com/danvk/travis-weigh-in
4 set -o errexit
5
6 curl -O https://raw.githubusercontent.com/danvk/travis-weigh-in/master/weigh_in.py
7 python weigh_in.py dist/dygraph-combined.js
8 gzip -c dist/dygraph.min.js > dist/dygraph.min.js.gz
9 python weigh_in.py dist/dygraph.min.js.gz