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 # This file is used to execute the analyzer by running the jar file. | 6 # This file is used to execute the analyzer by running the jar file. |
7 # It is a simple wrapper enabling us to have simpler command lines in | 7 # It is a simple wrapper enabling us to have simpler command lines in |
8 # the testing infrastructure. | 8 # the testing infrastructure. |
9 set -e | 9 set -e |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 if [[ `uname` == 'Darwin' ]]; | 32 if [[ `uname` == 'Darwin' ]]; |
33 then | 33 then |
34 JAR_DIR="$CUR_DIR"/../../xcodebuild/$DART_CONFIGURATION/dartanalyzer | 34 JAR_DIR="$CUR_DIR"/../../xcodebuild/$DART_CONFIGURATION/dartanalyzer |
35 else | 35 else |
36 JAR_DIR="$CUR_DIR"/../../out/$DART_CONFIGURATION/dartanalyzer | 36 JAR_DIR="$CUR_DIR"/../../out/$DART_CONFIGURATION/dartanalyzer |
37 fi | 37 fi |
38 | 38 |
39 JAR_FILE="$JAR_DIR/dartanalyzer.jar" | 39 JAR_FILE="$JAR_DIR/dartanalyzer.jar" |
40 | 40 |
41 exec java -jar $JAR_FILE --dart-sdk "$SDK_DIR" "$@" | 41 exec java -jar $JAR_FILE --dart-sdk "$SDK_DIR" "$@" |
OLD | NEW |