Makefile : Add verify target.
This commit is contained in:
parent
3bbc8e08c3
commit
638a435a66
12
Makefile
12
Makefile
|
@ -2,7 +2,7 @@ options = --option eval-cache false
|
|||
flake = .
|
||||
|
||||
.PHONY: boot
|
||||
boot: check
|
||||
boot: check verify
|
||||
nixos-rebuild boot $(options) --flake $(flake)
|
||||
|
||||
.PHONY: reboot
|
||||
|
@ -10,7 +10,7 @@ reboot: boot
|
|||
reboot
|
||||
|
||||
.PHONY: switch
|
||||
switch:
|
||||
switch: verify
|
||||
nixos-rebuild switch $(options) --flake $(flake)
|
||||
|
||||
.PHONY: update
|
||||
|
@ -18,11 +18,11 @@ update:
|
|||
nix flake update
|
||||
|
||||
.PHONY: live
|
||||
live: check
|
||||
live: check verify
|
||||
nix build -o live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage
|
||||
|
||||
.PHONY: android
|
||||
android:
|
||||
android: verify
|
||||
nix-on-droid switch --flake $(flake)
|
||||
|
||||
.PHONY: check
|
||||
|
@ -36,3 +36,7 @@ trace:
|
|||
.PHONY: show
|
||||
show:
|
||||
nix flake show
|
||||
|
||||
.PHONY: verify
|
||||
verify:
|
||||
git verify-commit HEAD
|
||||
|
|
Loading…
Reference in a new issue