tvl-depot/users/Profpatsch/declib/build.ninja
Profpatsch 80c683c9ec feat(declib): initial mastodon bot experiment
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
2024-02-11 16:38:16 +00:00

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