Skip to content

Commit

Permalink
Janitor: fix wording of the building.md docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Oct 16, 2024
1 parent df4f9b3 commit 66ebcbd
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,17 @@ cargo build
cargo test
```

### Building workspace
**Important:** Note that `cargo test` does not work without first calling `cargo build` because the
the required dynamic library won't be found.

<center> ** <strong> Not recommended</strong> ** </center>
### Building workspace

To build all examples install the entire workplace to executables
(excluding [UEFI-demo](https://github.com/slint-ui/slint/tree/master/examples/uefi-demo) - different target)

- Build workspace

```sh
cargo build --workspace --exclude uefi-demo --release
```

**Important:** Note that `cargo test` does not work without first calling `cargo build` because the
the required dynamic library won't be found.
```sh
cargo build --workspace --exclude uefi-demo --release
```

### C++ Tests

Expand Down

0 comments on commit 66ebcbd

Please sign in to comment.