From d69903d7d8c6b91192f389a7a6568c69cc972dd2 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Fri, 11 Jul 2025 01:24:54 +0800 Subject: [PATCH] justfile: Add sign, rebase and patch recipes for workflow --- .justfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.justfile b/.justfile index e69a1f8..af24890 100755 --- a/.justfile +++ b/.justfile @@ -40,6 +40,15 @@ buildHome host=DEFAULT_HOST $USER=DEFAULT_USER: deadNix: nix run github:astro/deadnix -- . --exclude ./pkgs/_sources/generated.nix ./nixos/configurations/{Akun,Tytonidae,Cape}/hardware-configuration.nix +sign: + jj sign --revisions '::@ & ~root() & ~signed() & ~@' --ignore-immutable + +patch revision="HEAD": + git push rad {{ revision }}:refs/patches + +rebase revision="dev": + jj rebase -b 'all:heads(all()) & ~signed() &~@' -d {{ revision }} + alias s := switch alias u := update alias d := deploy