about summary refs log blame commit diff
path: root/users/Profpatsch/declib/build.ninja
blob: f8844fc9be16d9807aee70f2bbf33863fb197808 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                    

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