Skip to content

Commit

Permalink
Only check the source
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKuan committed Dec 29, 2012
1 parent ac13dd1 commit bceceda
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions private/check_js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ if [ $compileOnly -eq 0 ]; then
echo "Need to run in top directory"
exit 1
fi
for i in `find . -name '*'.js`

for i in `find . -name '*'.js | grep -v 'docs/output'`
do

name=`basename $i`
if [ "$name" == "ext-all.js" ]; then
continue
fi

echo "Checking for cross browser compatibility: $i"
java -jar $closure --js $i > /dev/null
if [ $? -ne 0 ]; then
Expand All @@ -23,6 +29,3 @@ if [ $compileOnly -eq 0 ]; then
done
fi

head Chart/ux/Highcharts.js > Chart/ux/Highcharts.compiled.js
java -jar $closure --js Chart/ux/Highcharts.js >> Chart/ux/Highcharts.compiled.js
echo "Created Chart/ux/Highcharts.compiled.js"

0 comments on commit bceceda

Please sign in to comment.