OLD | NEW |
1 #! /bin/bash | 1 #! /bin/bash |
2 | 2 |
3 # Update git submodules | 3 # Update git submodules |
4 git submodule init | 4 git submodule init |
5 git submodule update | 5 git submodule update |
6 | 6 |
7 # If already in a VIRTUAL_ENV assume the person knows what they are doing, | 7 # If already in a VIRTUAL_ENV assume the person knows what they are doing, |
8 # otherwise set up a python virtualenv with all the needed requirements. | 8 # otherwise set up a python virtualenv with all the needed requirements. |
9 if [ x$VIRTUAL_ENV == x"" ]; then | 9 if [ x$VIRTUAL_ENV == x"" ]; then |
10 cd tools/python | 10 cd tools/python |
11 source setup.sh | 11 source setup.sh |
12 cd ../.. | 12 cd ../.. |
13 fi | 13 fi |
14 | 14 |
15 # Comment out the (function() {} ) wrapper | 15 # Comment out the (function() {} ) wrapper |
16 sed -e'17s-^-//-' -e'$s-^-//-' web-animations.js > web-animations-4lint.js | 16 sed -e'17s-^-//-' -e'$s-^-//-' web-animations.js > web-animations-4lint.js |
17 | 17 |
18 gjslint --summary --nojsdoc web-animations-4lint.js | 18 gjslint --summary --nojsdoc web-animations-4lint.js |
19 exit $? | 19 exit $? |
OLD | NEW |