Camel-case variable.
[dygraphs.git] / check-combined-unaffected.sh
CommitLineData
cd6172e1
DV
1#!/bin/bash
2# Ensures that dygraph-combined.js is unaffected.
3# Helpful for pull requests, where this is a common mistake.
4
5grep 'var' dygraph-combined.js > /dev/null
6if [ $? -eq 0 ]; then
7 echo 'Please revert changes to dygraph-combined.js' >&2
8 echo 'You can do this by running: ' >& 2
9 echo '' >& 2
10 echo ' git checkout dygraph-combined.js' >&2
11 echo '' >& 2
12 exit 1
13fi
14
15exit 0