summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
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