summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2025-05-28 16:09:33 +0100
committerjamie <git@skilet.ro>2025-06-15 19:04:05 +0100
commit5f78c00c62a9dae5c0901a1f824f8df1a282c755 (patch)
treee5712ddc495e35578fbf8e13d60218189869c253 /justfile
init: initialise flake + hakyll with example code
Diffstat (limited to 'justfile')
-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