Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 @echo off | |
| 2 REM Run frogc.dart on the Dart VM with its libdir set correctly. | |
| 3 | |
| 4 set SCRIPTPATH=%~dp0 | |
| 5 | |
| 6 REM Does string have a trailing slash? If so, remove it. | |
| 7 IF %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% | |
| 8 | |
| 9 REM If anyone has a prettier way to truncate after the last \, I'm all ears. | |
|
Jennifer Messerly
2011/12/20 02:09:39
Usually Windows programs ignore duplicated \\, sim
| |
| 10 set LIBPATH=%SCRIPTPATH%\..\lib | |
| 11 | |
| 12 %SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --no_color s --libdir=%LIBPATH% %* | |
| OLD | NEW |