mirror of
https://github.com/hanzoai/quickjs-emscripten.git
synced 2026-10-30 19:37:29 +00:00
8 lines
278 B
TypeScript
Executable File
8 lines
278 B
TypeScript
Executable File
#!/usr/bin/env -S npx tsx
|
|
import * as sh from "./helpers"
|
|
|
|
const target = sh.resolve(__dirname, "../examples/node-typescript")
|
|
sh.installDependencyGraphFromTar(target, "quickjs-emscripten")
|
|
sh.exec(`cd ${target} && npx tsc --project .`)
|
|
sh.exec(`cd ${target} && node index.js`)
|