Skip to content

Commit

Permalink
fix justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
open-junius committed Jul 5, 2024
1 parent 7641f15 commit feb1a42
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,17 @@ benchmarks:

clippy:
@echo "Running cargo clippy..."
<<<<<<< HEAD

cargo +{{RUSTV}} clippy --workspace --all-targets -- -D \
=======
cargo +{{RUSTV}} clippy --workspace --all-targets -- \
>>>>>>> main
-D clippy::todo \
-D clippy::unimplemented

clippy-fix:
<<<<<<< HEAD
@echo "Running cargo clippy with automatic fixes on potentially dirty code..."

cargo +{{RUSTV}} clippy --fix --allow-dirty --workspace --all-targets -- -A \

-A clippy::todo \
-A clippy::unimplemented
=======
@echo "Running cargo clippy with automatic fixes on potentially dirty code..."
cargo +{{RUSTV}} clippy --fix --allow-dirty --allow-staged --workspace --all-targets -- \
-A clippy::todo \
-A clippy::unimplemented \
-A clippy::indexing_slicing
<<<<<<< HEAD
>>>>>>> main
=======

>>>>>>> main
fix:
@echo "Running cargo fix..."
cargo +{{RUSTV}} fix --workspace
Expand All @@ -64,4 +47,4 @@ lint:
@echo "Running cargo clippy with automatic fixes on potentially dirty code..."
just clippy-fix
@echo "Running cargo clippy..."
just clippy
just clippy

0 comments on commit feb1a42

Please sign in to comment.