Files
cs420/scripts/grade-hw4.sh
2022-04-21 18:23:53 +09:00

12 lines
236 B
Bash
Executable File

#!/usr/bin/env bash
# Exit when any command fails.
set -e
# Run lints.
cargo fmt --all -- --check # run `cargo fmt` to auto-correct format.
cargo clippy
# Run tests.
RUST_MIN_STACK=33554432 cargo test --release test_examples_mem2reg