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

Unified Diff: sdk/bin/dartfmt_sdk.bat

Issue 950483002: Switch dartfmt in the SDK to run dart_style. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix copy/paste error. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/bin/dartfmt_sdk ('k') | tools/create_sdk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sdk/bin/dartfmt_sdk ('k') | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698