Closed arai-a closed 4 years ago
Forgot to mention run
command in usage (will fix)
cargo run --bin smoosh_tools run [PATH_TO_MOZILLA_CENTRAL]
will run JS shell built by build command
This looks really good from my point of view. One concern might be the list of dependencies for building SpiderMonkey, but I think this is fine to suggest to run mach bootstrap
to make it work.
This is Rust version of smoosh-tools.
With this, we can build SpiderMonkey JS shell with SmooshMonkey enabled, and with local jsparagus with the following command, in jsparagus directory:
or, the following until another binary is added:
Prerequisite:
cargo run --bin smoosh_tools build PATH_TO_MOZILLA_CENTRAL
)./mach bootstrap
is doneThis has the following commands (from usage):