Skip to content

Commit

Permalink
chore: add 'just fix' command
Browse files Browse the repository at this point in the history
  • Loading branch information
DonIsaac committed Aug 11, 2024
1 parent 28bfc12 commit cdf49a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ _default:

alias r := ready
alias c := coverage
alias f := fix

# Make sure you have cargo-binstall installed.
# You can download the pre-compiled binary from <https://github.com/cargo-bins/cargo-binstall#installation>
Expand Down Expand Up @@ -71,6 +72,13 @@ lint:
doc:
RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --document-private-items

# Fix all auto-fixable format and lint issues. Make sure your working tree is clean first.
fix:
cargo clippy --fix --allow-staged --no-deps
just fmt
typos -w
git status

# Run all the conformance tests. See `tasks/coverage`, `tasks/transform_conformance`, `tasks/minsize`
coverage:
cargo coverage
Expand Down

0 comments on commit cdf49a9

Please sign in to comment.