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

Unified Diff: lib/dartdoc/dartdoc

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copyright date. Created 8 years, 10 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
Index: lib/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/lib/dartdoc/dartdoc
similarity index 79%
rename from utils/dartdoc/dartdoc
rename to lib/dartdoc/dartdoc
index 1a195052874f64a8392bd1d19fe93a39ce107372..8c9534e39dae61764bce4cfd692024f939694662 100755
--- a/utils/dartdoc/dartdoc
+++ b/lib/dartdoc/dartdoc
@@ -1,5 +1,9 @@
#!/bin/bash
+# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
# To generate docs for a library, run this script with the path to an entrypoint
# .dart file, like:
#
@@ -39,7 +43,7 @@ compileToJs "client-live-nav"
# Clean the output directory.
if [ -d "docs" ]; then
- rm -r docs
+ rm -r docs
fi
mkdir docs
@@ -50,12 +54,6 @@ cp -R static/* docs
shift
# Generate the user's docs.
-if [ -a "../../out/Release_ia32/dart" ]; then
- ../../out/Release_ia32/dart dartdoc.dart "$entrypoint" $@
-elif [ -a "../../xcodebuild/Release_ia32/dart" ]; then
- ../../xcodebuild/Release_ia32/dart dartdoc.dart "$entrypoint" $@
-else
- echo "Could not find the Dart VM. Did you run 'tools/build.py -m release'?"
-fi
+dart dartdoc.dart "$entrypoint" $@
popd >>/dev/null
« frog/presubmit.py ('K') | « lib/dartdoc/comment_map.dart ('k') | lib/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698