Add test directive to Makefile

This commit is contained in:
Evie Litherland-Smith 2024-05-27 12:30:21 +01:00
parent 879c2750c6
commit ca42ac6b77

View file

@ -1,9 +1,12 @@
.PHONY: default build switch
.PHONY: default build test switch
default: build
build:
nixos-rebuild build --flake . --show-trace
test:
sudo nixos-rebuild test --flake . --show-trace
switch:
sudo nixos-rebuild switch --flake . --show-trace