Index: utils/apidoc/apidoc |
diff --git a/utils/apidoc/apidoc b/utils/apidoc/apidoc |
index c2730b0106049cbfdba5191b01c207580bcd6c23..8aa7c58e053437c2aa808cd5f53eb8a3a3fe60bd 100755 |
--- a/utils/apidoc/apidoc |
+++ b/utils/apidoc/apidoc |
@@ -38,6 +38,11 @@ if [ -d "docs" ]; then |
fi |
mkdir docs |
+# Bundle up the IO libraries so dartdoc can find them. |
+# TODO(rnystrom): Having to do this is gross. Ideally apidoc should walk the |
+# sources until runtime/bin/ directly instead of relying on this. |
nweiz
2012/01/31 23:35:33
s/until/under/?
Bob Nystrom
2012/02/01 00:35:29
Done.
|
+grep "'*.dart'" ../../runtime/bin/io_sources.gypi | sed s/\',//g | sed s,\',../../runtime/bin/,g | xargs cat > io_libs.dart |
nweiz
2012/01/31 23:35:33
Line length
Bob Nystrom
2012/02/01 00:35:29
Done.
|
+ |
# Copy the static files over. |
cp ../dartdoc/static/* docs |
# Overlay any apidoc-specific ones. |