rustlings/release-hook.sh

15 lines
277 B
Bash
Raw Normal View History

2024-04-25 13:02:07 -04:00
#!/bin/bash
# Error out if any command fails
set -e
typos
2024-07-13 06:32:23 -04:00
cargo upgrades
# Similar to CI
cargo clippy -- --deny warnings
cargo fmt --all --check
rustfmt --check --edition 2021 solutions/**/*.rs
2024-04-25 13:02:07 -04:00
cargo test --workspace --all-targets
2024-07-13 06:32:23 -04:00
cargo run -- dev check --require-solutions