tvl-depot/users/Profpatsch/declib/build.ninja

17 lines
236 B
Text
Raw Normal View History

builddir = .ninja
outdir = ./output
jsdir = $outdir/js
rule tsc
command = node_modules/.bin/tsc
build $outdir/index.js: tsc | index.ts tsconfig.json
rule run
command = node $in
build run: run $outdir/index.js
pool = console