mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-31 09:40:00 +00:00
11 lines
304 B
Text
11 lines
304 B
Text
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
cargo +nightly fmt -- --check
|
||
|
|
||
|
cargo +nightly clippy --workspace --tests --all-targets --all-features -- \
|
||
|
-D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
|
||
|
|
||
|
cargo run -- --print-config-docs > config/defaults.hjson
|
||
|
git add config/defaults.hjson
|