mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-25 23:33:08 +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]
|
[tasks.manpage]
|
||||||
description = "Use mandown crate to create or update man entry from docs/MANPAGES.md"
|
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"
|
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
|
# CI Releasing Zellij
|
||||||
[tasks.ci-build-release]
|
[tasks.ci-build-release]
|
||||||
workspace = false
|
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"
|
command = "cross"
|
||||||
args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"]
|
args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"]
|
||||||
|
|
||||||
@ -110,14 +114,6 @@ args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"
|
|||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["install", "cross"]
|
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
|
# Publishing Zellij
|
||||||
[tasks.publish]
|
[tasks.publish]
|
||||||
clear = true
|
clear = true
|
||||||
|
Loading…
Reference in New Issue
Block a user