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

Side by Side Diff: sdk/bin/dartdoc.bat

Issue 16415003: Make dartdoc use the snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 REM Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 REM Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 REM for details. All rights reserved. Use of this source code is governed by a 3 REM for details. All rights reserved. Use of this source code is governed by a
4 REM BSD-style license that can be found in the LICENSE file. 4 REM BSD-style license that can be found in the LICENSE file.
5 5
6 set SCRIPTPATH=%~dp0 6 set SCRIPTPATH=%~dp0
7 7
8 REM Does the path have a trailing slash? If so, remove it. 8 REM Does the path have a trailing slash? If so, remove it.
9 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1% 9 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1%
10 10
11 set arguments=%* 11 set arguments=%*
12 rem set SNAPSHOTNAME="%SCRIPTPATH%dartdoc.snapshot" 12 rem set SNAPSHOTNAME="%SCRIPTPATH%dartdoc.snapshot"
13 rem if exist %SNAPSHOTNAME% set SNAPSHOT=--use-script-snapshot=%SNAPSHOTNAME% 13 rem if exist %SNAPSHOTNAME% set SNAPSHOT=--use-script-snapshot=%SNAPSHOTNAME%
14 14
15 :: The trailing forward slash in --package-root is required because of issue 15 :: The trailing forward slash in --package-root is required because of issue
16 :: 9499. 16 :: 9499.
17 "%SCRIPTPATH%dart" --heap_growth_rate=32 "--package-root=%SCRIPTPATH%..\packages /" %SNAPSHOT% "%SCRIPTPATH%..\lib\_internal\dartdoc\bin\dartdoc.dart" %arguments % 17 "%SCRIPTPATH%dart" --heap_growth_rate=32 "--package-root=%SCRIPTPATH%..\packages /" %SNAPSHOT% "%SCRIPTPATH%\..\bin\snapshots\dartdoc.dart.snapshot" %arguments%
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698