Bug 1472101 - Part 0: Add a script to build auto-generated BinAST code. r=Yoric
authorTooru Fujisawa <arai_a@mac.com>
Sun, 01 Jul 2018 20:41:44 +0900
changeset 424579 1fcfc8b1be986b3b7c5d86e0514ab0b16df5d607
parent 424578 13ec4ae4de5dcc95ee1fd0f5c016493c2243f7d2
child 424580 fc7abf84687b599ec3168f4aac4bb8087eb9f620
push id104853
push userarai_a@mac.com
push dateSun, 01 Jul 2018 11:42:07 +0000
treeherdermozilla-inbound@fb5702076613 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1472101
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1472101 - Part 0: Add a script to build auto-generated BinAST code. r=Yoric
js/src/frontend/binsource/build.sh
new file mode 100755
--- /dev/null
+++ b/js/src/frontend/binsource/build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cargo run -- \
+      ../BinSource.webidl_ \
+      ../BinSource.yaml \
+      --out-class ../BinSource-auto.h    \
+      --out-impl ../BinSource-auto.cpp   \
+      --out-token ../BinToken.h