| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 # Usage: call directly in the commandline as test/run.sh ensuring that you have | 6 # Usage: call directly in the commandline as test/run.sh ensuring that you have |
| 7 # both 'dart' and 'content_shell' in your path. Filter tests by passing a | 7 # both 'dart' and 'content_shell' in your path. Filter tests by passing a |
| 8 # pattern as an argument to this script. | 8 # pattern as an argument to this script. |
| 9 | 9 |
| 10 # bail on error | 10 # bail on error |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 REVISIONS="$REVISIONS $NEWLINE $NAME is at revision `git rev-parse HEAD`" | 34 REVISIONS="$REVISIONS $NEWLINE $NAME is at revision `git rev-parse HEAD`" |
| 35 popd | 35 popd |
| 36 done | 36 done |
| 37 | 37 |
| 38 echo '*** Installing NPM prerequisites' | 38 echo '*** Installing NPM prerequisites' |
| 39 npm install | 39 npm install |
| 40 | 40 |
| 41 echo '*** Running grunt' | 41 echo '*** Running grunt' |
| 42 grunt | 42 grunt |
| 43 | 43 |
| 44 echo "*** Revision hash to use in commit message: $REVISIONS" | 44 echo "*** Saving REVISIONS file" |
| 45 echo "$REVISIONS" > ../REVISIONS |
| OLD | NEW |