| Index: sdk/bin/dartfmt_sdk
|
| diff --git a/sdk/bin/dartanalyzer_sdk b/sdk/bin/dartfmt_sdk
|
| similarity index 69%
|
| copy from sdk/bin/dartanalyzer_sdk
|
| copy to sdk/bin/dartfmt_sdk
|
| index cc49a5c8293165d323178d90213af08683af46d2..0a9cbefcb3a6320961b4b044a8683e916533bd45 100755
|
| --- a/sdk/bin/dartanalyzer_sdk
|
| +++ b/sdk/bin/dartfmt_sdk
|
| @@ -1,10 +1,10 @@
|
| #!/bin/bash
|
| -# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +# Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
| # for details. All rights reserved. Use of this source code is governed by a
|
| # BSD-style license that can be found in the LICENSE file.
|
|
|
| -# Run dartanalyzer.dart on the Dart VM. This script assumes the Dart SDK's
|
| -# directory structure.
|
| +# Run dart_style/bin/format.dart on the Dart VM. This script assumes the Dart
|
| +# SDK's directory structure.
|
|
|
| function follow_links() {
|
| file="$1"
|
| @@ -22,10 +22,8 @@ PROG_NAME="$(follow_links "$BASH_SOURCE")"
|
| BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"
|
| SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
|
|
|
| -SDK_ARG="--dart-sdk=$SDK_DIR"
|
| -
|
| -SNAPSHOT="$BIN_DIR/snapshots/dartanalyzer.dart.snapshot"
|
| +SNAPSHOT="$BIN_DIR/snapshots/dartfmt.dart.snapshot"
|
|
|
| # We are running the snapshot in the built SDK.
|
| DART="$BIN_DIR/dart"
|
| -exec "$DART" "$SNAPSHOT" "$SDK_ARG" "$@"
|
| +exec "$DART" "$SNAPSHOT" "$@"
|
|
|