diff --git a/README.md b/README.md index 8240dec0b..5ea4f5ca2 100644 --- a/README.md +++ b/README.md @@ -57,14 +57,14 @@ The daemon contains the core logic of the wallet. It is both a library (a Rust c command interface and a standalone UNIX daemon that exposes a JSONRPC API through a Unix Domain Socket. -The code for the daemon can be found in the [`src/`](src/) folder at the root of this repository. +The code for the daemon can be found in the [`liana`](liana) folder. #### Liana GUI The GUI contains both an installer that guides a user through setting up a Liana wallet, as well as a graphical interface to the daemon using the [`iced`](https://github.com/iced-rs/iced/) library. -The code for the GUI can be found in the [`gui/src/`](gui/src) folder. +The code for the GUI can be found in the [`liana-gui`](liana-gui) folder. ## Security diff --git a/doc/BUILD.md b/doc/BUILD.md index 00975215d..7f833d9fc 100644 --- a/doc/BUILD.md +++ b/doc/BUILD.md @@ -68,30 +68,20 @@ Some package managers distribute a version of `rustup`. Failing that, you can al ## Building the project -Once you've got Cargo, building the project is a simple `cargo` invocation away. +To build the whole wallet including the GUI, you'll need to install its [build and runtime +dependencies](https://github.com/wizardsardine/liana/tree/master/gui#dependencies) first. -To only build the daemon, run it from the root of the repository: -``` -$ cargo build --release -``` -The `lianad` and `liana-cli` binaries will be in the `target/` directory at the root of the -repository: -``` -$ ls target/release/ -build deps examples incremental liana-cli liana-cli.d lianad lianad.d libliana.d libliana.rlib -``` +Then run: -To build the whole wallet including the GUI, you'll need to install its [build and runtime -dependencies](https://github.com/wizardsardine/liana/tree/master/gui#dependencies) first. Then run -the same command as above within the [`gui/`](../liana-gui/) folder present at the root of the repository: ``` -$ cd liana-gui/ $ cargo build --release ``` -The `liana-gui` binary will be in the root `target/` folder: +The `lianad`, `liana-cli` and `liana-gui` binaries will be in the `target/` directory at the root of the +repository as the exception for windows that only `liana-gui` will be built +(`lianad` and `liana-cli` relies on unix socket): ``` $ ls target/release/ -build deps examples incremental liana-gui liana-gui.d libliana_gui.d libliana_gui.rlib +build deps examples incremental liana-cli liana-cli.d lianad lianad.d liana-gui liana-gui.d libliana.d libliana_gui.d libliana_gui.rlib libliana.rlib libliana_ui.d libliana_ui.rlib ``` Whether your are building the whole wallet or only the daemon, make sure not to forget the