updated formatting

This commit is contained in:
Nik Mitev 2025-08-10 15:41:55 +01:00
parent a3ea840886
commit d71ee81de6

View File

@ -13,14 +13,18 @@ To compile:
`sudo apt install -y build-essential pkg-config libgtk-3-dev libwebkit2gtk-4.1-dev libssl-dev libudev-dev`
2) Install rust
`curl --proto '=https' --tlsv1.2 --http2 -sSf https://sh.rustup.rs | sh`
`. "$HOME/.cargo/env"`
`rustc --version`
<pre><code>```bash
curl --proto '=https' --tlsv1.2 --http2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
rustc --version
```</code/></pre>
3) Clone the repo
`git clone https://git.mitev.net/nik/liana`
`git checkout remotenode`
`cargo build --release`
<pre><code>```bash
git clone https://git.mitev.net/nik/liana
git checkout remotenode
cargo build --release
```</code/></pre>
I used these steps to build on a debian vm, then run the binaries on Linux Mint. You may need to modify the dependencies for other distributions.
@ -29,7 +33,9 @@ If you would like to verify the changes made against the original code by wisard
`git remote add wisardsardine https://github.com/wizardsardine/liana.git`
- checkout the master branch
`git checkout master`
`git pull wisardsardine master`
`git diff master remotenode`
<pre><code>```bash
git checkout master
git pull wisardsardine master
git diff master remotenode
```</code/></pre>