Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: dart/sdk/bin/dart2analyzer

Issue 15793010: Version 0.5.14.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/runtime/bin/test_extension.c ('k') | dart/sdk/bin/dart2analyzer_developer » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash --posix
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
4 # BSD-style license that can be found in the LICENSE file.
5
6 set -e
7
8 BIN_DIR="$(cd "${BASH_SOURCE%/*}" ; pwd -P)"
9 SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
10 DART="$BIN_DIR/dart"
11 PKG_ANALYZER="$BIN_DIR/../packages/analyzer_experimental/bin/analyzer.dart"
12
13 FOUND_BATCH=0
14 FOUND_SDK=0
15 for ARG in "$@"
16 do
17 case $ARG in
18 -batch|--batch)
19 FOUND_BATCH=1
20 ;;
21 --dart-sdk)
22 FOUND_SDK=1
23 ;;
24 *)
25 ;;
26 esac
27 done
28
29 if [ $FOUND_SDK = 0 ] ; then
30 exec "$DART" "${PKG_ANALYZER}" --dart-sdk "${SDK_DIR}" "$@"
31 else
32 exec "$DART" "${PKG_ANALYZER}" "$@"
33 fi
OLDNEW
« no previous file with comments | « dart/runtime/bin/test_extension.c ('k') | dart/sdk/bin/dart2analyzer_developer » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698