blob: d41951d92a6874c157a93c63425b1f35db5ce96e [file] [log] [blame]
@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"