Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Unified Diff: utils/apidoc/mdn/extract.sh

Issue 10889017: Repair bitrot in the utils/apidoc/mdn/ code. It now runs all the way through, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 .

Powered by Google App Engine
This is Rietveld 408576698