Skip to content

Commit

Permalink
Bring justfile up to date with what I'm using in other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
derekkraan committed Mar 6, 2025
1 parent 5ca0298 commit 8d7a68e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -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}}

0 comments on commit 8d7a68e

Please sign in to comment.