From 1c756a672b327d45d6e639b9eafc47d8d45d5344 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Wed, 11 Sep 2024 18:13:56 +1200 Subject: chore: justfile --- justfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 justfile (limited to 'justfile') 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 }} -- cgit 1.4.1