justfile: Add sign, rebase and patch recipes for workflow
This commit is contained in:
		
							parent
							
								
									24797cd72c
								
							
						
					
					
						commit
						d69903d7d8
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -40,6 +40,15 @@ buildHome host=DEFAULT_HOST $USER=DEFAULT_USER:
 | 
				
			||||||
deadNix:
 | 
					deadNix:
 | 
				
			||||||
    nix run github:astro/deadnix -- . --exclude ./pkgs/_sources/generated.nix ./nixos/configurations/{Akun,Tytonidae,Cape}/hardware-configuration.nix
 | 
					    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 s := switch
 | 
				
			||||||
alias u := update
 | 
					alias u := update
 | 
				
			||||||
alias d := deploy
 | 
					alias d := deploy
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue