mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
87bc2763ce
* Fix husky fmt hook. * Change to use default cargo * Using nightly check
11 lines
274 B
Bash
Executable File
11 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
|