mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-02-02 07:15:06 +01:00
feat!: add cli with update and list subcommands + gitignore param
This commit is contained in:
parent
56f281eea4
commit
b39e16ec3c
6 changed files with 201 additions and 84 deletions
|
|
@ -69,6 +69,26 @@ in {
|
|||
assert_file_contains ${shellHook} "gomplate"
|
||||
'';
|
||||
}
|
||||
{
|
||||
name = "packages";
|
||||
type = "script";
|
||||
script = let
|
||||
conf = (soonix.make {inherit hooks;}).config;
|
||||
soonixBin = conf.packages.soonix + "/bin/soonix";
|
||||
in
|
||||
# sh
|
||||
''
|
||||
${ntlib.helpers.path [pkgs.gnugrep]}
|
||||
${ntlib.helpers.scriptHelpers}
|
||||
|
||||
assert -f "${soonixBin}" "should exist"
|
||||
|
||||
assert_file_contains "${soonixBin}" "gotmpl"
|
||||
assert_file_contains "${soonixBin}" "test.json"
|
||||
|
||||
assert_file_contains "${soonixBin}" "SKIP_GITIGNORE"
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue