summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile11
1 files changed, 10 insertions, 1 deletions
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