Index: sdk/bin/dartfmt_sdk.bat |
diff --git a/sdk/bin/dartanalyzer_sdk.bat b/sdk/bin/dartfmt_sdk.bat |
similarity index 77% |
copy from sdk/bin/dartanalyzer_sdk.bat |
copy to sdk/bin/dartfmt_sdk.bat |
index bca4afbf4474a23a3fbb47a8e58f33533a6911c4..7de72c012686b11ac355ffd80682cc23d510a3f4 100644 |
--- a/sdk/bin/dartanalyzer_sdk.bat |
+++ b/sdk/bin/dartfmt_sdk.bat |
@@ -1,5 +1,5 @@ |
@echo off |
-REM Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+REM Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
REM for details. All rights reserved. Use of this source code is governed by a |
REM BSD-style license that can be found in the LICENSE file. |
@@ -12,17 +12,9 @@ rem Get rid of surrounding quotes. |
for %%i in ("%RETURNED_BIN_DIR%") do set BIN_DIR=%%~fi |
set DART=%BIN_DIR%\dart |
-set SNAPSHOT=%BIN_DIR%\snapshots\dartanalyzer.dart.snapshot |
+set SNAPSHOT=%BIN_DIR%\snapshots\dartfmt.dart.snapshot |
-rem Get absolute full name for SDK_DIR. |
-for %%i in ("%BIN_DIR%\..\") do set SDK_DIR=%%~fi |
- |
-rem Remove trailing backslash if there is one |
-if %SDK_DIR:~-1%==\ set SDK_DIR=%SDK_DIR:~0,-1% |
- |
-set SDK_ARG=--dart-sdk=%SDK_DIR% |
- |
-"%DART%" "%SNAPSHOT%" "%SDK_ARG%" %* |
+"%DART%" "%SNAPSHOT%" %* |
endlocal |