mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 22:01:19 +00:00
75005b1d31
R=ricow@google.com Review URL: https://codereview.chromium.org//59623003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29909 260f80e4-7a28-3924-810f-c04153c831b5
17 lines
564 B
Batchfile
17 lines
564 B
Batchfile
@REM Copyright (c) 2013, 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.
|
|
|
|
@REM This script will download VAR_DOWNLOAD_URL to VAR_DESTINATION in the
|
|
@REM current working directory.
|
|
|
|
@echo off
|
|
|
|
set "CHROMIUM_DIR=%~dp0"
|
|
set "SDK_BIN=%CHROMIUM_DIR%\..\dart-sdk\bin"
|
|
|
|
set "DART=%SDK_BIN%\dart.exe"
|
|
set "DOWNLOAD_SCRIPT=%CHROMIUM_DIR%\download_file.dart"
|
|
|
|
"%DART%" "%DOWNLOAD_SCRIPT%" "VAR_DOWNLOAD_URL" "VAR_DESTINATION"
|