summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..61dc613
--- /dev/null
+++ b/justfile
@@ -0,0 +1,16 @@
+[private]
+default:
+ @just --list --unsorted
+
+run *args:
+ nix build .#
+ ./result/bin/site {{ args }}
+
+watch: (run "watch")
+
+# Build and watch
+baw:
+ nix build .#
+ ./result/bin/site clean
+ ./result/bin/site build
+ ./result/bin/site watch