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

Side by Side Diff: tools/dartk_wrappers/dartk.bat

Issue 2803973002: Support dartk on Windows. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « tests/compiler/dart2js/dill_loader_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 @echo off
2 REM Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
3 REM for details. All rights reserved. Use of this source code is governed by a
4 REM BSD-style license that can be found in the LICENSE file.
5
6 set SCRIPTPATH=%~dp0
7
8 REM Does the path have a trailing slash? If so, remove it.
9 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1%
10
11 set DART_ROOT=%SCRIPTPATH%..\..\
12
13 rem Remove trailing backslash if there is one
14 if %DART_ROOT:~-1%==\ set DART_ROOT=%DART_ROOT:~0,-1%
15
16 set DARTK=%DART_ROOT%\pkg\kernel\bin\dartk.dart
17
18 set DART=%DART_ROOT%\tools\sdks\win\dart-sdk\bin\dart
19
20 "%DART%" --packages=.packages "%DARTK%" %*
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/dill_loader_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698