mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 15:38:48 +00:00
Add grading scripts
This commit is contained in:
11
scripts/grade-hw5.sh
Executable file
11
scripts/grade-hw5.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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_gvn
|
||||
Reference in New Issue
Block a user