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

Unified Diff: frog/scripts/bootstrap/frog.bat

Issue 9350022: Add frog build target on Windows and change frogium and webdriver components to use frog instead ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 months 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 | « no previous file | frog/scripts/bootstrap/frog_bootstrap_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/scripts/bootstrap/frog.bat
===================================================================
--- frog/scripts/bootstrap/frog.bat (revision 0)
+++ frog/scripts/bootstrap/frog.bat (revision 0)
@@ -0,0 +1,13 @@
+@echo off
Siggi Cherem (dart-lang) 2012/02/07 20:41:55 + license comment + comment explaining this is a w
+REM Call frog using python.
+
+set SCRIPTPATH=%~dp0
+
+REM Does the string have a trailing slash? If so, remove it.
+if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
+
+REM Canonicalize the direction of the slashes.
+set script=%*
+set script=%script:\=/%
+
+python %SCRIPTPATH%\frog %script%
« no previous file with comments | « no previous file | frog/scripts/bootstrap/frog_bootstrap_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698