| OLD | NEW |
| 1 @echo off | 1 @echo off |
| 2 REM Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 REM Copyright (c) 2012, 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 | 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. | 4 REM BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 set SCRIPTPATH=%~dp0 | 6 set SCRIPTPATH=%~dp0 |
| 7 | 7 |
| 8 REM Does the path have a trailing slash? If so, remove it. | 8 REM Does the path have a trailing slash? If so, remove it. |
| 9 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1% | 9 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1% |
| 10 | 10 |
| 11 REM DART_CONFIGURATION defaults to ReleaseIA32 | 11 REM DART_CONFIGURATION defaults to ReleaseX64 |
| 12 if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32 | 12 if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseX64 |
| 13 | 13 |
| 14 set arguments=%* | 14 set arguments=%* |
| 15 | 15 |
| 16 "%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart.exe" %arguments% | 16 "%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart.exe" %arguments% |
| OLD | NEW |