summaryrefslogtreecommitdiffstats
path: root/Makefile.toml
diff options
context:
space:
mode:
authorNKGoc <natka.goc@gmail.com>2021-05-05 13:16:58 +0200
committerNKGoc <natka.goc@gmail.com>2021-05-05 13:16:58 +0200
commitb70d73a5810e14fd41d0217ec4ca82c1c42802c0 (patch)
tree01990d1eb6eb05ab2fa3dd67438c283660988ff8 /Makefile.toml
parent6d826dcae0cc6003c2a8e318f3f8bb7d6b59cc7e (diff)
new tasks to install mandown and generate manpage
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.toml b/Makefile.toml
index b4821278e..0ff37fd9a 100644
--- a/Makefile.toml
+++ b/Makefile.toml
@@ -64,7 +64,7 @@ args = ["clippy", "--", "@@split(CARGO_MAKE_TASK_ARGS,;)"]
# Release building and installing Zellij
[tasks.install]
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 = '''
if is_dir ${CARGO_MAKE_TASK_ARGS}
@@ -96,7 +96,7 @@ end
# CI Releasing Zellij
[tasks.ci-build-release]
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"
args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"]
@@ -104,6 +104,10 @@ args = ["build", "--verbose", "--release", "--target", "${CARGO_MAKE_TASK_ARGS}"
command = "cargo"
args = ["install", "cross"]
+[tasks.install-mandown]
+command = "cargo"
+args = ["install", "mandown"]
+
# Publishing Zellij
[tasks.publish]
clear = true