rustlings/release-hook.sh

15 lines
277 B
Bash
Raw Normal View History

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