mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-28 22:01:33 +00:00
12 lines
331 B
Bash
Executable file
12 lines
331 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
cargo +nightly fmt -- --check
|
|
|
|
cargo clippy --workspace --tests --all-targets --all-features -- \
|
|
-D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
|
|
cargo clippy --workspace -- \
|
|
-D clippy::unwrap_used
|
|
|
|
./scripts/update_config_defaults.sh
|
|
git add config/defaults.hjson
|