From 788cbfa80b544a48e7cba7f02ef72281e7e9cd66 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 8 Sep 2023 08:28:14 -0400 Subject: justfile: add dry-run --- justfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 27b94a5..8674597 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,7 @@ alias b := build alias c := check alias d := deploy alias da := deploy-all +alias dr := dry-run alias f := fmt alias l := lint alias p := pre-commit @@ -17,7 +18,7 @@ build: [macos] build: - darwin-rebuild --verbose --flake . + darwin-rebuild build --verbose --flake . check: nix flake check @@ -28,6 +29,14 @@ deploy HOST: deploy-all: deploy +[linux] +dry-run: + nixos-rebuild dry-run --verbose --flake . + +[macos] +dry-run: + darwin-rebuild dry-run --verbose --flake . + fmt: pre-commit run alejandra && pre-commit run stylua -- cgit v1.2.3