| Index: utils/apidoc/mdn/extract.sh
|
| ===================================================================
|
| --- utils/apidoc/mdn/extract.sh (revision 11346)
|
| +++ utils/apidoc/mdn/extract.sh (working copy)
|
| @@ -1,8 +1,19 @@
|
| -../../../frog/minfrog --out=output/extract.dart.js --enable_type_checks --compile-only extract.dart
|
| +
|
| +BUILT_DIR=../../../out/ReleaseIA32
|
| +DART2JS=$BUILT_DIR/dart2js
|
| +DARTVM=$BUILT_DIR/dart
|
| +
|
| +$DART2JS -ooutput/extract.dart.js -c extract.dart
|
| node extractRunner.js
|
| -../../../frog/minfrog postProcess.dart
|
| -../../../frog/minfrog prettyPrint.dart
|
|
|
| +# Read database.json,
|
| +# write database.filtered.json (with "best" entries)
|
| +# and obsolete.json (with entries marked obsolete).
|
| +$DARTVM postProcess.dart
|
| +
|
| +# Create database.html, examples.html, and obsolete.html.
|
| +$DARTVM prettyPrint.dart
|
| +
|
| # Copy up the final output to the main MDN directory so we can check it in.
|
| cp output/database.filtered.json database.json
|
| cp output/obsolete.json .
|
|
|