Skip to content

Commit f8e647c

Browse files
authored
Merge pull request #102 from tofubert/extend_makefile
add helper to install and update tools
2 parents 416f8a5 + 01c08a2 commit f8e647c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Makefile.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,26 @@ dependencies = ["lint", "clippy", "check", "test"]
1414
description = "Run all tasks"
1515
dependencies = ["format", "lint-typos", "clippy", "check", "dependencies", "build", "coverage-text"]
1616

17+
[tasks.install-tools]
18+
description = "Install tools needed beside cargo-make to run all needed cmds"
19+
command = "cargo"
20+
args = [
21+
"install",
22+
"cargo-llvm-cov",
23+
"cargo-check",
24+
"typos-cli",
25+
"cargo-audit",
26+
"cargo-deny",
27+
"cargo-update",
28+
]
29+
30+
[tasks.update-tools]
31+
description = "Update tools used for building/testing/linting"
32+
command = "cargo"
33+
args = [
34+
"install-update",
35+
"-a",
36+
]
1737

1838
[tasks.clippy]
1939
description = "Run Clippy for linting"

0 commit comments

Comments
 (0)