mirror of
https://github.com/LemmyNet/lemmy
synced 2024-12-12 14:12:28 +00:00
87bc2763ce
* Fix husky fmt hook. * Change to use default cargo * Using nightly check
10 lines
274 B
Bash
Executable file
10 lines
274 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
|
|
|
|
./scripts/update_config_defaults.sh
|
|
git add config/defaults.hjson
|