mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-16 09:24:00 +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
|