chore: initial commit

This commit is contained in:
technofab 2025-09-17 11:59:53 +02:00
commit db488d8f41
No known key found for this signature in database
26 changed files with 1077 additions and 0 deletions

View file

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