mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-22 13:02:12 +03:00
auto install mandown if it's not there (tested with Manjaro repositories)
This commit is contained in:
parent
67a0a8dc3b
commit
b504a5379e
@ -95,14 +95,18 @@ end
|
||||
|
||||
[tasks.manpage]
|
||||
description = "Use mandown crate to create or update man entry from docs/MANPAGES.md"
|
||||
workspace = false
|
||||
script = "mandown docs/MANPAGE.md ZELLIJ 1 > assets/man/zellij.1"
|
||||
dependencies = ["install-mandown"]
|
||||
|
||||
[tasks.install-mandown]
|
||||
command = "cargo"
|
||||
args = ["install", "mandown"]
|
||||
|
||||
|
||||
# CI Releasing Zellij
|
||||
[tasks.ci-build-release]
|
||||
workspace = false
|
||||
dependencies = ["setup-cross-compilation", "install-mandown", "build-plugins-release", "wasm-opt-plugins", "ci-manpage"]
|
||||
|
||||
dependencies = ["setup-cross-compilation", "build-plugins-release", "wasm-opt-plugins", "manpage"]
|
||||
command = "cross"
|
||||
args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"]
|
||||
|
||||
@ -110,14 +114,6 @@ args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"
|
||||
command = "cargo"
|
||||
args = ["install", "cross"]
|
||||
|
||||
[tasks.install-mandown]
|
||||
command = "cargo"
|
||||
args = ["install", "mandown"]
|
||||
|
||||
[tasks.ci-manpage]
|
||||
script = "mandown docs/MANPAGE.md ZELLIJ 1 > assets/man/zellij.1"
|
||||
dependencies = ["install-mandown"]
|
||||
|
||||
# Publishing Zellij
|
||||
[tasks.publish]
|
||||
clear = true
|
||||
|
Loading…
Reference in New Issue
Block a user