Chromium Code Reviews| Index: frog/frogc.bat |
| =================================================================== |
| --- frog/frogc.bat (revision 0) |
| +++ frog/frogc.bat (revision 0) |
| @@ -0,0 +1,13 @@ |
| +@echo off |
| +REM Run frogc.dart on the Dart VM with its libdir set correctly. |
| + |
| +set SCRIPTPATH=%~dp0 |
| + |
| +REM Does string have a trailing slash? If so, remove it. |
| +IF %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% |
| + |
| +REM If anyone has a prettier way to truncate after the last \, I'm all ears. |
| +set LIBPATH=%SCRIPTPATH%\..\lib |
| + |
| +echo "%SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --libdir=%LIBPATH% %*" |
|
dgrove
2011/12/20 01:53:29
this should go away.
Emily Fortuna
2011/12/20 02:00:19
Done.
|
| +%SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --no_colors --libdir=%LIBPATH% %* |