diff options
| author | seth <[email protected]> | 2023-09-08 08:28:14 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-08 08:29:57 -0400 |
| commit | 788cbfa80b544a48e7cba7f02ef72281e7e9cd66 (patch) | |
| tree | b26667e46c1533aa10359f453a2e510b9aa5510d /justfile | |
| parent | d6a5613e846066a2801138f5b54b37c9d8baf114 (diff) | |
justfile: add dry-run
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
