mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 17:27:15 +00:00
Adding script to upgrade deps, and check for unused ones.
This commit is contained in:
parent
1f64db6a33
commit
b241bb9cb7
14
scripts/upgrade_deps.sh
Executable file
14
scripts/upgrade_deps.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
pushd ../
|
||||
|
||||
# Check unused deps
|
||||
cargo udeps --all-targets
|
||||
|
||||
# Upgrade deps
|
||||
cargo upgrade --workspace
|
||||
|
||||
# Run check
|
||||
cargo check
|
||||
|
||||
popd
|
Loading…
Reference in a new issue