mirror of
https://git.sr.ht/~nixgoat/vento
synced 2025-03-27 12:29:41 +00:00
Since the directory structure on macOS is not even close to the one in Linux systems, I've decided to stop making it attempt to install the manpages.
33 lines
538 B
TOML
33 lines
538 B
TOML
[tasks.install-binary]
|
|
command = "cargo"
|
|
args = ["install", "--path", "."]
|
|
|
|
[tasks.install-manpages]
|
|
condition = { platforms = ["linux"] }
|
|
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]
|
|
condition = { platforms = ["linux"] }
|
|
script = [
|
|
"rm -rf /tmp/vento-man"
|
|
]
|
|
|
|
[tasks.clean]
|
|
dependencies = [
|
|
"clean-binary",
|
|
"clean-manpages"
|
|
]
|