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

Unified Diff: sdk/bin/dartdoc

Issue 1295073003: create dartdoc snapshot, add to dart-sdk. Also add resources needed to run dartdoc from the sdk. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: update dartdoc in DEPS Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « create_sdk.gyp ('k') | sdk/bin/dartdoc.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dartdoc
diff --git a/sdk/bin/dartfmt_sdk b/sdk/bin/dartdoc
similarity index 85%
copy from sdk/bin/dartfmt_sdk
copy to sdk/bin/dartdoc
index 0a9cbefcb3a6320961b4b044a8683e916533bd45..319df02872f3907801ef1346eea59953fbcb4fec 100755
--- a/sdk/bin/dartfmt_sdk
+++ b/sdk/bin/dartdoc
@@ -22,8 +22,8 @@ PROG_NAME="$(follow_links "$BASH_SOURCE")"
BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"
SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
-SNAPSHOT="$BIN_DIR/snapshots/dartfmt.dart.snapshot"
+SNAPSHOT="$BIN_DIR/snapshots/dartdoc.dart.snapshot"
# We are running the snapshot in the built SDK.
DART="$BIN_DIR/dart"
-exec "$DART" "$SNAPSHOT" "$@"
+exec "$DART" --packages="$BIN_DIR/snapshots/resources/dartdoc/.packages" "$SNAPSHOT" "$@"
« no previous file with comments | « create_sdk.gyp ('k') | sdk/bin/dartdoc.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698