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}}