80c683c9ec
No default.nix yet, just for development. Change-Id: Ib8bd0057d697fecd083d5961e635c770b7638e08 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10803 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
16 lines
236 B
Text
16 lines
236 B
Text
|
|
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
|