Support cargo-deb
and fix readme
This commit is contained in:
parent
c33294f00b
commit
487d5a9971
2 changed files with 22 additions and 11 deletions
|
@ -12,3 +12,10 @@ anyhow = "1.0"
|
|||
clap = "3.0.0-beta.2"
|
||||
posixmq = "1.0"
|
||||
chrono = "0.4"
|
||||
|
||||
[package.metadata.deb]
|
||||
extended-description = "`mqrs` is a small cli application to handle POSIX message queues."
|
||||
assets = [
|
||||
["target/release/mqrs", "usr/bin/", "755"],
|
||||
["README.md", "usr/share/doc/cargo-deb/README.md", "644"],
|
||||
]
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
`mqrs` is a small cli application to handle POSIX message queues.
|
||||
|
||||
## Installation
|
||||
Currently `mqrs` can only be built with the rust toolchain. Support
|
||||
for `cargo-deb` is imminent.
|
||||
To build `mqrs` a rust toolchain is necessary.
|
||||
|
||||
### Install Rust
|
||||
Install the Rust toolchain from [rustup.rs](https://rustup.rs).
|
||||
|
@ -19,6 +18,11 @@ or for releasing:
|
|||
cargo b --release
|
||||
```
|
||||
|
||||
### Build the `mqrs` Debian package
|
||||
```sh
|
||||
cargo deb
|
||||
```
|
||||
|
||||
### Install `mqrs`
|
||||
When a Rust toolchain installed you can also install `mqrs`
|
||||
directly without cloning it manually:
|
||||
|
|
Loading…
Reference in a new issue