From 169fea0bfc53f28743c1dcf8000174d846bb8715 Mon Sep 17 00:00:00 2001 From: jamie Date: Fri, 20 Jun 2025 13:51:44 +0100 Subject: feat: update justfile --- justfile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index afbcc5d..052d9be 100644 --- a/justfile +++ b/justfile @@ -2,19 +2,16 @@ default: @just --list --unsorted -run *args: +[private] +pre: nix fmt git add . - nix build .# - ./result/bin/site {{ args }} + nix build .# --print-build-logs + +run *args: pre + nix run .# {{ args }} watch: (run "watch") # Build and watch -baw: - nix fmt - git add . - nix build .# - ./result/bin/site clean - ./result/bin/site build - ./result/bin/site watch +baw: pre (run "clean") (run "watch") -- cgit v1.3.1