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

Unified Diff: frog/frogsh.bat

Issue 9233015: Make test.dart run web tests on Windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
Index: frog/frogsh.bat
===================================================================
--- frog/frogsh.bat (revision 0)
+++ frog/frogsh.bat (revision 0)
@@ -0,0 +1,13 @@
+@echo off
+REM Call frogsh using node.
+
+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:\=/%
+
+node %SCRIPTPATH%\frogsh %script%
Property changes on: frog\frogsh.bat
___________________________________________________________________
Added: svn:eol-style
+ CRLF

Powered by Google App Engine
This is Rietveld 408576698