Justfile command to run cargo-udeps

This commit is contained in:
Benjamin Sago 2020-10-24 21:22:07 +01:00
parent bfcefd3f82
commit 39c8c67bf6

View File

@ -43,10 +43,16 @@ all-release: build-release test-release xtests-release
cargo clippy cargo clippy
# updates dependency versions, and checks for outdated ones # updates dependency versions, and checks for outdated ones
@update: @update-deps:
cargo update cargo update
command -v cargo-outdated >/dev/null || (echo "cargo-outdated not installed" && exit 1)
cargo outdated cargo outdated
# lists unused dependencies
@unused-deps:
command -v cargo-udeps >/dev/null || (echo "cargo-udeps not installed" && exit 1)
cargo +nightly udeps
# prints versions of the necessary build tools # prints versions of the necessary build tools
@versions: @versions:
rustc --version rustc --version