diff options
author | Profpatsch <mail@profpatsch.de> | 2024-02-11T16·31+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2024-02-11T16·38+0000 |
commit | 80c683c9ecf0129b5468028856a1443d87c6c64a (patch) | |
tree | 1e83ff04313ed98c6ae60edcc38a525ec63f065f /users/Profpatsch/declib/build.ninja | |
parent | d2e3f8cd7bd4599f5d7e57b0887eff922d5e4a44 (diff) |
feat(declib): initial mastodon bot experiment r/7499
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
Diffstat (limited to 'users/Profpatsch/declib/build.ninja')
-rw-r--r-- | users/Profpatsch/declib/build.ninja | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/users/Profpatsch/declib/build.ninja b/users/Profpatsch/declib/build.ninja new file mode 100644 index 000000000000..f8844fc9be16 --- /dev/null +++ b/users/Profpatsch/declib/build.ninja @@ -0,0 +1,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 |