mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2026-05-04 18:49:26 +02:00
Merge branch 'feat/cli' into 'main'
feat!: add cli with update and list subcommands + gitignore param Closes #3 See merge request TECHNOFAB/soonix!3
This commit is contained in:
commit
5676a7e6b8
6 changed files with 245 additions and 105 deletions
|
|
@ -41,8 +41,10 @@ in {
|
|||
}
|
||||
{
|
||||
name = "soonix";
|
||||
files = "nix run .#soonix -- list --skip-gitignore";
|
||||
stage_fixed = true;
|
||||
run = "nix run .#soonix:update";
|
||||
# {files} is needed so lefthook git add's them
|
||||
run = "nix run .#soonix -- update --skip-gitignore; #{files}";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ in
|
|||
data = {
|
||||
extends = ["config:recommended"];
|
||||
postUpgradeTasks.commands = [
|
||||
"nix-portable nix run .#soonix:update"
|
||||
"nix-portable nix run .#soonix -- update --skip-gitignore"
|
||||
];
|
||||
lockFileMaintenance = {
|
||||
enabled = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue