1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00
rustlings/release-hook.sh
2024-07-13 12:32:23 +02:00

15 lines
277 B
Bash
Executable File

#!/bin/bash
# Error out if any command fails
set -e
typos
cargo upgrades
# Similar to CI
cargo clippy -- --deny warnings
cargo fmt --all --check
rustfmt --check --edition 2021 solutions/**/*.rs
cargo test --workspace --all-targets
cargo run -- dev check --require-solutions