| Index: utils/apidoc/apidoc
|
| diff --git a/utils/apidoc/apidoc b/utils/apidoc/apidoc
|
| index 62f8c3c7c6cd2f5cc8390e82748d92381a17b173..a613f11a6b2d71001f84504db3e96f39ea2e4cbc 100755
|
| --- a/utils/apidoc/apidoc
|
| +++ b/utils/apidoc/apidoc
|
| @@ -33,23 +33,7 @@ compileToJs() {
|
| compileToJs "client-static"
|
| compileToJs "client-live-nav"
|
|
|
| -# Clean the output directory.
|
| -if [ -d "docs" ]; then
|
| - rm -r docs
|
| -fi
|
| -mkdir docs
|
| -
|
| -# Copy the static files over.
|
| -cp ../../lib/dartdoc/static/* docs
|
| -# Overlay any apidoc-specific ones.
|
| -cp static/* docs
|
| -
|
| -# Ditch the first arg so we can pass any extra arguments to dartdoc.
|
| -shift
|
| -
|
| -# Figure out where the dart VM executable is.
|
| -
|
| # Generate the user's docs.
|
| -dart ../apidoc/apidoc.dart $@
|
| +dart apidoc.dart $@
|
|
|
| popd >>/dev/null
|
|
|