Commit 63bf6c558b

63bf6c558b4e0ed8e2973e7475187952f557a147

parent: de1b598477

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-03-14 11:49 UTC

README: Add build steps.

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
2020to a Matrix server and send messages.
2121
2222If you are interested in helping out take a look at the issue tracker.
23
24# Build
25
26To build this project a
27[nightly](https://github.com/rust-lang/rustup#working-with-nightly-rust)
28version of Rust is required.
29
30After Rust is installed the plugin can be compiled with:
31
32 cargo build
33
34On Linux this creates a `libmatrix.so` file in the `target/debug/` folder, this
35file needs to be renamed to `matrix.so` and copied to your Weechat plugin
36directory. A plugin directory can be created in your `$WEECHAT_HOME` folder, by
37default `.weechat/plugins/`.
38
39Alternatively `make install` will build and install the plugin in your
40`$WEECHAT_HOME` as well.