| Index: utils/dartdoc/dartdoc
|
| diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
|
| index 15025bf9920df7bcd3d7c82bca77a872224425d7..1a195052874f64a8392bd1d19fe93a39ce107372 100755
|
| --- a/utils/dartdoc/dartdoc
|
| +++ b/utils/dartdoc/dartdoc
|
| @@ -50,6 +50,12 @@ cp -R static/* docs
|
| shift
|
|
|
| # Generate the user's docs.
|
| -../../frog/minfrog --libdir=../../frog/lib dartdoc.dart "$entrypoint" $@
|
| +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
|
|
|
| popd >>/dev/null
|
|
|