2022-10-28 13:44:43 +00:00
|
|
|
[env]
|
|
|
|
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
|
|
|
|
|
2022-10-28 09:30:54 +00:00
|
|
|
[tasks.fmt]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["fmt", "${@}"]
|
|
|
|
|
|
|
|
[tasks.check]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["check", "${@}"]
|
|
|
|
|
|
|
|
[tasks.clippy]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["clippy", "${@}"]
|
|
|
|
|
|
|
|
[tasks.test]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["test", "${@}"]
|
|
|
|
|
|
|
|
[tasks.doc]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["doc", "${@}"]
|
|
|
|
|
|
|
|
[tasks.build]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["build", "${@}"]
|
|
|
|
|
|
|
|
[tasks.complete-check]
|
|
|
|
dependencies = ["fmt", "check", "clippy", "test", "doc", "build"]
|
|
|
|
|
|
|
|
[tasks.code-coverage]
|
|
|
|
workspace = false
|
|
|
|
install_crate = "cargo-tarpaulin"
|
|
|
|
command = "cargo"
|
|
|
|
args = [
|
|
|
|
"tarpaulin",
|
|
|
|
"--exclude-files=target/*",
|
|
|
|
"--out=html",
|
|
|
|
"--output-dir=coverage",
|
|
|
|
"--skip-clean",
|
|
|
|
"--target-dir=target/tarpaulin"
|
|
|
|
]
|
2022-10-30 19:59:33 +00:00
|
|
|
|
|
|
|
[tasks.book]
|
|
|
|
workspace = false
|
|
|
|
install_crate = "mdbook"
|
|
|
|
command = "mdbook"
|
|
|
|
|
|
|
|
[tasks.clean-book]
|
|
|
|
extend = "book"
|
|
|
|
args = ["clean", "hooked-book"]
|
|
|
|
|
|
|
|
[tasks.build-book]
|
|
|
|
extend = "book"
|
|
|
|
dependencies = ["clean-book"]
|
|
|
|
args = ["build", "hooked-book"]
|
|
|
|
|
|
|
|
[tasks.serve-book]
|
|
|
|
extend = "book"
|
|
|
|
dependencies = ["clean-book"]
|
|
|
|
args = ["serve", "hooked-book"]
|