[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.formatFix]
description = "Runs the cargo rustfmt plugin."
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--all", "--"]
[tasks.format]
description = "Runs the cargo rustfmt plugin."
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--all", "--", "--check"]
[tasks.lint]
description = "Runs the cargo clippy plugin."
install_crate = "clippy"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-D", "warnings"]
[tasks.styleFix]
dependencies = [
"formatFix"
]
[tasks.assemble]
command = "cargo"
args = ["build"]
[tasks.test]
description = "Runs the cargo tarpaulin plugin."
install_crate = "cargo-tarpaulin"
command = "cargo"
args = ["tarpaulin"]
[tasks.build]
dependencies = [
"format",
"assemble",
"test",
"lint"
]
[tasks.ci]
dependencies = [
"format",
"assemble",
"lint"
]
[tasks.publish]
description = "Runs semantic-rs to publish and update changelog."
install_crate = "semantic-rs"
command = "cargo"
args = ["semantic-rs", "-w=yes"]