From bbb87a2d69b8423f70a471f9084c168453c6b80e Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 21 Jul 2024 00:33:16 +0100 Subject: [PATCH] devshell: Add deploy-multi command --- devshell/commands.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devshell/commands.nix b/devshell/commands.nix index 5f54fac..f7a0b72 100644 --- a/devshell/commands.nix +++ b/devshell/commands.nix @@ -145,5 +145,15 @@ in help = "Update installer tag (to trigger new release)"; command = ''git tag -f installer && git push -f origin installer''; } + { + name = "deploy-multi"; + category = "tasks"; + help = "Deploy multiple flakes at once"; + command = '' + for f in $@; do + deploy "$O" $f + done + ''; + } ]; }