diff --git a/scripts/grade-asmgen-small.sh b/scripts/grade-asmgen-small.sh index 6dea427..18c4f6e 100755 --- a/scripts/grade-asmgen-small.sh +++ b/scripts/grade-asmgen-small.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_asmgen_small -- --nocapture diff --git a/scripts/grade-asmgen.sh b/scripts/grade-asmgen.sh index 304ecaf..6532b33 100755 --- a/scripts/grade-asmgen.sh +++ b/scripts/grade-asmgen.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_asmgen -- --nocapture diff --git a/scripts/grade-deadcode.sh b/scripts/grade-deadcode.sh index b3ed3f2..4887d7d 100755 --- a/scripts/grade-deadcode.sh +++ b/scripts/grade-deadcode.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_deadcode -- --nocapture diff --git a/scripts/grade-gvn.sh b/scripts/grade-gvn.sh index 5852c2b..9040110 100755 --- a/scripts/grade-gvn.sh +++ b/scripts/grade-gvn.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_gvn -- --nocapture diff --git a/scripts/grade-irgen-small.sh b/scripts/grade-irgen-small.sh index c89bb09..0e0f702 100755 --- a/scripts/grade-irgen-small.sh +++ b/scripts/grade-irgen-small.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_irgen_small -- --nocapture diff --git a/scripts/grade-irgen.sh b/scripts/grade-irgen.sh index 3341f82..e02cf06 100755 --- a/scripts/grade-irgen.sh +++ b/scripts/grade-irgen.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_irgen -- --nocapture diff --git a/scripts/grade-mem2reg.sh b/scripts/grade-mem2reg.sh index 2e2e388..84385a0 100755 --- a/scripts/grade-mem2reg.sh +++ b/scripts/grade-mem2reg.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_mem2reg -- --nocapture diff --git a/scripts/grade-simplify_cfg.sh b/scripts/grade-simplify_cfg.sh index 4a03a5e..fea1048 100755 --- a/scripts/grade-simplify_cfg.sh +++ b/scripts/grade-simplify_cfg.sh @@ -4,8 +4,8 @@ set -e # Run lints. -cargo fmt --all -- --check # run `cargo fmt` to auto-correct format. -cargo clippy +cargo fmt --all -- --check # run `cargo fmt` to auto-correct the code. +cargo clippy # run `cargo clippy --fix` to auto-correct the code. # Run tests. RUST_MIN_STACK=33554432 cargo test --release test_examples_simplify_cfg -- --nocapture