| Index: utils/dartdoc/dartdoc
|
| diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
|
| index d2b949452aa4ff02ae370a8c6c7ee78e75adb3a1..b3b3397463ac8935d1a5e7eed48f2ecc7f05c4c9 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
|
|
|
|
|