Skip to content

Commit

Permalink
build(project): add lint-cargo-deps task
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Dec 16, 2024
1 parent 5735bb6 commit d48c821
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ command = "cargo-toml-lint"
dependencies = ["install-cargo-toml-lint"]
description = "Check lint of the given toml file"

[tasks.lint-cargo-deps]
args = ["machete", "--with-metadata"]
command = "cargo"
dependencies = ["install-cargo-machete"]

[tasks.format-toml]
args = ["fmt"]
command = "taplo"
Expand Down Expand Up @@ -643,6 +648,7 @@ fi

[tasks.install-cargo-hack]
install_crate = { crate_name = "cargo-hack", min_version = "0.6.14" }

[tasks.install-cargo-machete]
install_crate = { crate_name = "cargo-machete", min_version = "0.7.0" }

Expand Down

0 comments on commit d48c821

Please sign in to comment.