mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
14 lines
277 B
Bash
Executable file
14 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
|