Index: sdk/bin/dartdoc.bat |
diff --git a/sdk/bin/dartfmt_sdk.bat b/sdk/bin/dartdoc.bat |
similarity index 90% |
copy from sdk/bin/dartfmt_sdk.bat |
copy to sdk/bin/dartdoc.bat |
index 7de72c012686b11ac355ffd80682cc23d510a3f4..58c201791189ffd9454424c892eccf2d16dd1c6e 100644 |
--- a/sdk/bin/dartfmt_sdk.bat |
+++ b/sdk/bin/dartdoc.bat |
@@ -12,9 +12,9 @@ rem Get rid of surrounding quotes. |
for %%i in ("%RETURNED_BIN_DIR%") do set BIN_DIR=%%~fi |
set DART=%BIN_DIR%\dart |
-set SNAPSHOT=%BIN_DIR%\snapshots\dartfmt.dart.snapshot |
+set SNAPSHOT=%BIN_DIR%\snapshots\dartdoc.dart.snapshot |
-"%DART%" "%SNAPSHOT%" %* |
+"%DART%" --packages="$BIN_DIR/snapshots/resources/dartdoc/.packages" "%SNAPSHOT%" %* |
endlocal |