mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 14:53:37 +00:00
Fix docgen.bat so it can start docgen from snapshot.
R=alanknight@google.com Review URL: https://codereview.chromium.org//149723004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32145 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
4333e2c0b5
commit
b5f91066fd
|
@ -25,7 +25,7 @@ if not defined DART_CONFIGURATION set DART_CONFIGURATION=ReleaseIA32
|
|||
|
||||
set BUILD_DIR=%SDK_DIR%\..\build\%DART_CONFIGURATION%
|
||||
if exist "%SNAPSHOT%" (
|
||||
"%DART%" "%SNAPSHOT%" "dartdoc" "--library-root=%SDK_DIR%" %*
|
||||
"%DART%" "%SNAPSHOT%" "docgen" %*
|
||||
) else (
|
||||
"%BUILD_DIR%\dart-sdk\bin\dart" "--package-root=%BUILD_DIR%\packages" "%DOCGEN%" %*
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue