From c68f9f34c384df1367bfa1cf2a97a44d43df4f2e Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 2 May 2023 17:15:46 -0400 Subject: add test recipe to justfile --- justfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/justfile b/justfile index 481153f..a813050 100644 --- a/justfile +++ b/justfile @@ -7,6 +7,7 @@ alias l := lint alias lo := lock alias p := pre-commit alias sw := switch +alias t := test alias ul := unlock default: @@ -48,6 +49,14 @@ switch: switch: darwin-rebuild switch --flake . +[linux] +test: + sudo nixos-rebuild test --impure --flake . + +[macos] +test: + darwin-rebuild test --flake . + unlock: git-crypt unlock -- cgit v1.2.3