summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2025-06-15 19:53:48 +0100
committerjamie <git@skilet.ro>2025-06-15 19:53:48 +0100
commit1e233b960c1131029d87fa53ceabf2c0b49dcf61 (patch)
tree21d557a1cd972593f89f14798ea70e1911d03e56 /justfile
parent7cd5896bdd7b96a0f90f6f3b3720343cd5cbe4d9 (diff)
feat: add linter to flake and format
Diffstat (limited to 'justfile')
-rw-r--r--justfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/justfile b/justfile
index 61dc613..afbcc5d 100644
--- a/justfile
+++ b/justfile
@@ -3,6 +3,8 @@ default:
@just --list --unsorted
run *args:
+ nix fmt
+ git add .
nix build .#
./result/bin/site {{ args }}
@@ -10,6 +12,8 @@ watch: (run "watch")
# Build and watch
baw:
+ nix fmt
+ git add .
nix build .#
./result/bin/site clean
./result/bin/site build