simplifications
This commit is contained in:
parent
ba99c379cc
commit
0ab7a51d04
3 changed files with 3 additions and 8 deletions
|
|
@ -14,7 +14,7 @@ Before contributing please read our [Code of Conduct](CODE_OF_CONDUCT.md) which
|
||||||
all contributors are expected to adhere to.
|
all contributors are expected to adhere to.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
To build Zellij, we're using cargo-make – you can install it by running `cargo install --force cargo-make`.
|
To build Zellij, we're using cargo-make – you can install it by running `cargo install --force cargo-make`. To edit a manpage mandown crate (`cargo install mandown`) is used and the work is done on a markdown file in docs/MANPAGE.md.
|
||||||
|
|
||||||
Zellij has a hard dependency on a package from `x11` most likely called `libX11`, or similarly on your system.
|
Zellij has a hard dependency on a package from `x11` most likely called `libX11`, or similarly on your system.
|
||||||
|
|
||||||
|
|
@ -37,6 +37,8 @@ cargo make clippy -W clippy::pedantic
|
||||||
cargo make install /path/of/zellij/binary
|
cargo make install /path/of/zellij/binary
|
||||||
# Publish the zellij and zellij-tile crates
|
# Publish the zellij and zellij-tile crates
|
||||||
cargo make publish
|
cargo make publish
|
||||||
|
# Update manpage
|
||||||
|
cargo make manpage
|
||||||
```
|
```
|
||||||
|
|
||||||
To run `install` or `publish`, you'll need `binaryen --version` > 97, for it's command `wasm-opt`.
|
To run `install` or `publish`, you'll need `binaryen --version` > 97, for it's command `wasm-opt`.
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ features = ["unstable"]
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
insta = "1.6.0"
|
insta = "1.6.0"
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
mandown = "0.1.2"
|
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
|
|
|
||||||
|
|
@ -131,9 +131,3 @@ args = ["publish"]
|
||||||
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
|
workspace = false
|
||||||
script = "mandown docs/MANPAGE.md ZELLIJ 1 > assets/man/zellij.1"
|
script = "mandown docs/MANPAGE.md ZELLIJ 1 > assets/man/zellij.1"
|
||||||
|
|
||||||
[tasks.manpage-install]
|
|
||||||
description = "Install manpage from assets"
|
|
||||||
workspace = false
|
|
||||||
command = "sudo"
|
|
||||||
args = ["cp", "assets/man/zellij.1", "/usr/share/man/man1/"]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue