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

Unified Diff: dart/tools/dartium/download_shellscript_template.bat

Issue 57483005: Add tools/download_file.dart helper + download_contentshell shell/bat script included in the editor… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/tools/dartium/download_file.dart ('k') | dart/tools/dartium/download_shellscript_template.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/dartium/download_shellscript_template.bat
diff --git a/dart/tools/dartium/download_shellscript_template.bat b/dart/tools/dartium/download_shellscript_template.bat
new file mode 100644
index 0000000000000000000000000000000000000000..8171bcd830a883ebb911dd687829492c22529ca5
--- /dev/null
+++ b/dart/tools/dartium/download_shellscript_template.bat
@@ -0,0 +1,14 @@
+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 current
+REM working directory.
+
+CHROMIUM_DIR="%~dp0"
+SDK_BIN="%CHROMIUM_DIR%\..\dart-sdk\bin"
+
+DART="%SDK_BIN%\dart.exe"
+DOWNLOAD_SCRIPT="%CHROMIUM_DIR%\download_file.dart"
+
+"%DART%" "%DOWNLOAD_SCRIPT%" "VAR_DOWNLOAD_URL" "VAR_DESTINATION"
« no previous file with comments | « dart/tools/dartium/download_file.dart ('k') | dart/tools/dartium/download_shellscript_template.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698