| Index: utils/dartdoc/dartdoc
|
| diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
|
| index 01208161b008a51990ae6391b27414bc5e97acda..dbe263a1ec6e787f389a63ec4bec5c463f811b00 100755
|
| --- a/utils/dartdoc/dartdoc
|
| +++ b/utils/dartdoc/dartdoc
|
| @@ -20,6 +20,15 @@ if [ "interact.dart" -nt "static/interact.js" ]
|
| echo "Compiled interact.dart."
|
| fi
|
|
|
| +# Clean the output directory.
|
| +if [ -d "docs" ]; then
|
| + rm -r docs
|
| +fi
|
| +mkdir docs
|
| +
|
| +# Copy the static files over.
|
| +cp static/* docs
|
| +
|
| # Ditch the first arg so we can pass any extra arguments to dartdoc.
|
| shift
|
|
|
|
|