Refactor justfile

This commit is contained in:
SebastianStork 2024-11-22 12:08:26 +01:00
parent a3bee25696
commit 3a87740e05

View file

@ -3,17 +3,9 @@ set quiet := true
default:
just --list --unsorted
switch:
nh os switch .
test:
nh os test .
boot:
nh os boot .
reboot: boot
reboot
rebuild mode='switch':
nh os {{ if mode == 'reboot' { 'boot' } else { mode } }} .
{{ if mode == 'reboot' { 'reboot' } else { '' } }}
update:
nix flake update