summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..53c0f87
--- /dev/null
+++ b/justfile
@@ -0,0 +1,19 @@
+[private]
+default:
+    @just -l
+
+# run flake checks
+check:
+    nix flake check --impure
+
+# format source code
+fmt:
+    nix fmt
+
+# build and switch NixOS configuration, without adding it to the boot menu
+test *FLAGS:
+    cargo nextest run
+
+# updates all flake inputs, or specified inputs
+update *INPUTS:
+    nix flake update {{ INPUTS }}