From ca42ac6b77b2ab192a617d3a826dd7a3bf19b764 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 27 May 2024 12:30:21 +0100 Subject: [PATCH] Add test directive to Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bfc77e6a..5c62e829 100644 --- a/Makefile +++ b/Makefile @@ -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