X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=scripts%2Fweigh-in.sh;fp=scripts%2Fweigh-in.sh;h=e58f7866ba4afb1e9496799d48a5e841ebf91849;hb=5a57a74cdb1f2a15441e154a6cf4a8985ab7a37a;hp=0000000000000000000000000000000000000000;hpb=8aed933d0737d6091530a36f28b10a45866d5b2e;p=dygraphs.git diff --git a/scripts/weigh-in.sh b/scripts/weigh-in.sh new file mode 100755 index 0000000..e58f786 --- /dev/null +++ b/scripts/weigh-in.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# This tracks the effect of pull requests on the size of dygraphs. +# See https://github.com/danvk/travis-weigh-in +set -o errexit + +curl -O https://raw.githubusercontent.com/danvk/travis-weigh-in/master/weigh_in.py +python weigh_in.py dist/dygraph-combined.js +gzip -c dist/dygraph.min.js > dist/dygraph.min.js.gz +python weigh_in.py dist/dygraph.min.js.gz