Files
2023-12-26 18:34:48 -08:00

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`)