mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 13:08:10 +00:00
004d49bd6b
Change-Id: I7f5892d66f9e7bd08ca064fb2df329794a56faf5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116527 Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
17 lines
564 B
Batchfile
17 lines
564 B
Batchfile
@echo off
|
|
REM Copyright (c) 2012, 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.
|
|
|
|
set SCRIPTPATH=%~dp0
|
|
|
|
REM Does the path have a trailing slash? If so, remove it.
|
|
if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1%
|
|
|
|
REM DART_CONFIGURATION defaults to ReleaseX64
|
|
if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseX64
|
|
|
|
set arguments=%*
|
|
|
|
"%SCRIPTPATH%\..\..\out\%DART_CONFIGURATION%\dart.exe" %arguments%
|