From c9b4393a292e40d1127d4ff6c08ddc78c53666e3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 17 Feb 2024 19:03:38 +0000 Subject: [PATCH] Add switch to Makefile, make build the default --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a6050e5a..da37be66 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ -.PHONY: build test - -test: - sudo nixos-rebuild test --flake . +.PHONY: build test switch build: nixos-rebuild build --flake . +test: + sudo nixos-rebuild test --flake . + +switch: + sudo nixos-rebuild switch --flake .