From 8d7a68e2a3842d0fb4e70c0cdb33141dcf0d38e4 Mon Sep 17 00:00:00 2001 From: Derek Kraan Date: Thu, 6 Mar 2025 12:09:15 +0100 Subject: [PATCH] Bring justfile up to date with what I'm using in other projects --- justfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index d868783..cf6de19 100644 --- a/justfile +++ b/justfile @@ -1,4 +1,7 @@ -default: watch +default: test -watch: - watchexec -r --clear=reset -w . --project-origin=. --stop-timeout=0 mix test --warnings-as-errors --all-warnings +watch +target: + watchexec -r --clear=reset -w . --project-origin=. --stop-timeout=0 {{target}} + +test target='': + watchexec -r --clear=reset -w . --project-origin=. --stop-timeout=0 mix test --warnings-as-errors --all-warnings {{target}}