Skip to content

Commit

Permalink
add watch
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Dec 16, 2024
1 parent 9699627 commit c878a74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ ready:
just lint
just doc

watch *args='':
watchexec --no-vcs-ignore {{args}}

fmt:
cargo shear --fix
cargo fmt --all
Expand All @@ -28,6 +31,9 @@ fmt:
check:
cargo check --workspace --all-features --all-targets --locked

watch-check:
just watch "'cargo check; cargo clippy'"

test:
cargo test

Expand Down

0 comments on commit c878a74

Please sign in to comment.