docs: add line for testing

This commit is contained in:
Harald Hoyer 2026-05-07 14:51:15 +02:00
parent 483107196f
commit b1fe22fcaf
2 changed files with 9 additions and 1 deletions

View file

@ -2,4 +2,6 @@ You are on a nix system. This rust project contains a `flake.nix`.
If you don't know a crate or the current crate version, use the `cratedoc` extension to get the crate documentation. If you don't know a crate or the current crate version, use the `cratedoc` extension to get the crate documentation.
Read the file `README.md` for further information about this project. Read the file @README.md for further information about this project.
Prefix your `cargo` commands with `nix develop --command cargo`

View file

@ -28,6 +28,12 @@ The game features:
nix develop --command cargo build nix develop --command cargo build
``` ```
## How to Test
```
nix develop --command cargo test
```
## How to Run ## How to Run
1. Make sure you have Rust and Nix installed. 1. Make sure you have Rust and Nix installed.