Execute a javascript tool. This is used by emcc to run parts of the build process that are implemented in javascript.
(filename, jsargs=[], node_args=[], **kw)
| 202 | |
| 203 | |
| 204 | def run_js_tool(filename, jsargs=[], node_args=[], **kw): # noqa: B006 |
| 205 | """Execute a javascript tool. |
| 206 | |
| 207 | This is used by emcc to run parts of the build process that are |
| 208 | implemented in javascript. |
| 209 | """ |
| 210 | command = [*config.NODE_JS, *node_args, filename, *jsargs] |
| 211 | return check_call(command, **kw).stdout |
| 212 | |
| 213 | |
| 214 | def get_npm_cmd(name, missing_ok=False): |
nothing calls this directly
no test coverage detected