2022-09-25 01:24:31 +00:00
|
|
|
[tasks.install-binary]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["install", "--path", "."]
|
|
|
|
|
|
|
|
[tasks.install-manpages]
|
2022-09-28 17:54:13 +00:00
|
|
|
condition = { platforms = ["linux"] }
|
2022-09-25 01:24:31 +00:00
|
|
|
script = [
|
|
|
|
"cp /tmp/vento-man/* $HOME/.local/share/man/man1/",
|
|
|
|
"rm -rf /tmp/vento-man"
|
|
|
|
]
|
|
|
|
|
|
|
|
[tasks.install]
|
|
|
|
dependencies = [
|
|
|
|
"install-binary",
|
|
|
|
"install-manpages"
|
|
|
|
]
|
|
|
|
|
|
|
|
[tasks.clean-binary]
|
|
|
|
command = "cargo"
|
|
|
|
args = ["clean"]
|
|
|
|
|
|
|
|
[tasks.clean-manpages]
|
2022-09-28 17:54:13 +00:00
|
|
|
condition = { platforms = ["linux"] }
|
2022-09-25 01:24:31 +00:00
|
|
|
script = [
|
|
|
|
"rm -rf /tmp/vento-man"
|
|
|
|
]
|
|
|
|
|
|
|
|
[tasks.clean]
|
|
|
|
dependencies = [
|
|
|
|
"clean-binary",
|
|
|
|
"clean-manpages"
|
|
|
|
]
|