summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-02 17:15:46 -0400
committerseth <[email protected]>2023-05-02 17:15:51 -0400
commitc68f9f34c384df1367bfa1cf2a97a44d43df4f2e (patch)
treea315d379d07981709b43ea0d437f718a795bb17f /justfile
parentd1a5e622c0eaf65dfe2b0ba5810f68fc22a20753 (diff)
add test recipe to justfile
Diffstat (limited to 'justfile')
-rw-r--r--justfile9
1 files changed, 9 insertions, 0 deletions
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