mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 19:01:03 +00:00
Adding script to upgrade deps, and check for unused ones.
This commit is contained in:
parent
1f64db6a33
commit
b241bb9cb7
1 changed files with 14 additions and 0 deletions
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