The wax-mb command-line tool: convert, format and check Wax source
Dependencies
moon install marianoguerra/wax-cliwax-mb f.wax # convert: reformat to stdout
wax-mb f.wax -f wasm -o f.wasm # compile to a binary
wax-mb f.wax -f wat # compile to WebAssembly text
wax-mb check f.wax # report diagnostics, produce no output
wax-mb format -i src/*.wax # reformat in place
wax-mb format --check src/*.wax # list the files that would change| status | |
|---|---|
| 0 | every file passed |
| 123 | an invalid combination of flags, or --check found files needing formatting |
| 124 | an unknown flag or a bad option value |
| 125 | an uncaught internal error |
| 128 | the input was rejected by a diagnostic |
The wax-mb command-line tool: convert, format and check Wax source
Dependencies