new tasks to install mandown and generate manpage

This commit is contained in:
NKGoc 2021-05-05 13:16:58 +02:00
parent 6d826dcae0
commit b70d73a581

View file

@ -64,7 +64,7 @@ args = ["clippy", "--", "@@split(CARGO_MAKE_TASK_ARGS,;)"]
# Release building and installing Zellij # Release building and installing Zellij
[tasks.install] [tasks.install]
workspace = false workspace = false
dependencies = ["build-plugins-release", "wasm-opt-plugins", "build-release", "manpage-install"] dependencies = ["build-plugins-release", "wasm-opt-plugins", "build-release", "manpage"]
script_runner = "@duckscript" script_runner = "@duckscript"
script = ''' script = '''
if is_dir ${CARGO_MAKE_TASK_ARGS} if is_dir ${CARGO_MAKE_TASK_ARGS}
@ -96,7 +96,7 @@ end
# CI Releasing Zellij # CI Releasing Zellij
[tasks.ci-build-release] [tasks.ci-build-release]
workspace = false workspace = false
dependencies = ["setup-cross-compilation", "build-plugins-release", "wasm-opt-plugins"] dependencies = ["setup-cross-compilation", "install-mandown", "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}"]
@ -104,6 +104,10 @@ 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"]
# Publishing Zellij # Publishing Zellij
[tasks.publish] [tasks.publish]
clear = true clear = true