The CLI tests hardcoded target/debug/brewlog, but nix builds in release mode. Use Cargo's CARGO_BIN_EXE_brewlog env var which automatically points to the correct binary location. This enables running tests during nix build (removes doCheck = false). |
||
|---|---|---|
| .. | ||
| bags_cli.rs | ||
| gear_cli.rs | ||
| helpers.rs | ||
| main.rs | ||
| roasters_cli.rs | ||
| roasts_cli.rs | ||
| tokens_cli.rs | ||