2022-08-28 02:47:05 +12:00
|
|
|
[tasks.default]
|
|
|
|
clear = true
|
|
|
|
dependencies = [
|
|
|
|
"fmt",
|
|
|
|
"check",
|
|
|
|
"clippy",
|
|
|
|
"release",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tasks.fmt]
|
2022-08-29 10:02:22 +12:00
|
|
|
command = "cargo"
|
|
|
|
args = ["fmt"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.release]
|
2022-08-29 10:02:22 +12:00
|
|
|
dependencies = ["build-release"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.dev]
|
2022-08-29 10:02:22 +12:00
|
|
|
dependencies = ["build-dev"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.check]
|
2022-08-29 10:02:22 +12:00
|
|
|
command = "cargo"
|
|
|
|
args = ["check"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.clippy]
|
2022-08-29 10:02:22 +12:00
|
|
|
command = "cargo"
|
|
|
|
args = ["clippy"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.build-dev]
|
2022-08-29 10:02:22 +12:00
|
|
|
command = "cargo"
|
|
|
|
args = ["install", "--path", ".", "--debug"]
|
2022-08-28 02:47:05 +12:00
|
|
|
|
|
|
|
[tasks.build-release]
|
2022-08-29 10:02:22 +12:00
|
|
|
command = "cargo"
|
|
|
|
args = ["install", "--path", "."]
|