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:
aprelev@gmail.com 2014-01-29 22:09:02 +00:00
parent 4333e2c0b5
commit b5f91066fd

View file

@ -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%" %*
)