Commit 63bf6c558b
Unsigned
Layout: unified · split
README.md +18
| @@ -20,3 +20,21 @@ This project is a work in progress and doesn't do much yet. It can connect | |||
| 20 | to a Matrix server and send messages. | 20 | to a Matrix server and send messages. |
| 21 | 21 | ||
| 22 | If you are interested in helping out take a look at the issue tracker. | 22 | If you are interested in helping out take a look at the issue tracker. |
| 23 | |||
| 24 | # Build | ||
| 25 | |||
| 26 | To build this project a | ||
| 27 | [nightly](https://github.com/rust-lang/rustup#working-with-nightly-rust) | ||
| 28 | version of Rust is required. | ||
| 29 | |||
| 30 | After Rust is installed the plugin can be compiled with: | ||
| 31 | |||
| 32 | cargo build | ||
| 33 | |||
| 34 | On Linux this creates a `libmatrix.so` file in the `target/debug/` folder, this | ||
| 35 | file needs to be renamed to `matrix.so` and copied to your Weechat plugin | ||
| 36 | directory. A plugin directory can be created in your `$WEECHAT_HOME` folder, by | ||
| 37 | default `.weechat/plugins/`. | ||
| 38 | |||
| 39 | Alternatively `make install` will build and install the plugin in your | ||
| 40 | `$WEECHAT_HOME` as well. | ||