tvl-depot/users/Profpatsch/whatcd-resolver/build.ninja
Profpatsch efa5fe1239 feat(users/Profpatsch/whatcd-resolver): add services & readme
Gives a story for running both jaeger and the reverse proxy, and the
program proper.

`postgres` is still run from the client.

Adds a little readme.

Change-Id: I11185028541c0214e152fd76c9c72b7e2eb11122
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11171
Tested-by: BuildkiteCI
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
2024-03-17 01:21:14 +00:00

20 lines
447 B
Text

builddir = .ninja
outdir = ./output
rule run-services
command = s6-svscan ./services
rule run
command = execlineb -c '$
importas -i DEPOT_ROOT DEPOT_ROOT $
importas -i PROFPATSCH_ROOT PROFPATSCH_ROOT cd $$PROFPATSCH_ROOT $
nix-run { $$DEPOT_ROOT -A users.Profpatsch.shortcuttable } cabal repl whatcd-resolver/ --repl-options "-e main" $
'
build run-services: run-services
pool = console
build run: run
pool = console