feat: add basic process compose module

This commit is contained in:
technofab 2025-12-19 15:04:26 +01:00
parent a4295c3cdb
commit 25fb9162ff
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{
ntlib,
devshell,
...
}: let
module = ./process_compose.nix;
in {
suites."Process-Compose" = {
pos = __curPos;
tests = [
{
name = "basic";
type = "script";
script = let
shell = devshell.mkShell {
imports = [module];
process-compose.enable = true;
};
in
# sh
''
${ntlib.helpers.scriptHelpers}
assert "-f ${shell}/bin/pc" "/bin/pc should exist"
'';
}
];
};
}