Refactor code structure for improved readability and maintainability
This commit is contained in:
+25
@@ -4,6 +4,31 @@ cargo run --example gui
|
||||
cargo run -p hcie-iced-gui
|
||||
scripts/cargo-with-build-id.sh run -p hcie-iced-gui
|
||||
|
||||
##test
|
||||
Running the Tests Automatically
|
||||
To run only the new proximity dedup tests:
|
||||
cargo test -p hcie-iced-gui -- proximate
|
||||
|
||||
To run all cycle_one_ux_tests (including the new ones):
|
||||
cargo test -p hcie-iced-gui -- cycle_one_ux_tests
|
||||
|
||||
To run the FULL test suite for the iced GUI crate:
|
||||
cargo test -p hcie-iced-gui
|
||||
|
||||
To watch tests and re-run on file changes, use:
|
||||
cargo watch -x "test -p hcie-iced-gui -- proximate"
|
||||
|
||||
(Requires cargo install cargo-watch if not installed.)
|
||||
|
||||
To check compilation (without running tests):
|
||||
cargo check -p hcie-iced-gui
|
||||
|
||||
I suggest adding a Makefile target or shell alias for quick invocation:
|
||||
|
||||
# ~/.bashrc or ~/.zshrc
|
||||
alias ci-iced='cd /mnt/extra/00_PROJECTS/hcie-rust-v3.05 && cargo test -p hcie-iced-gui'
|
||||
alias ci-iced-check='cd /mnt/extra/00_PROJECTS/hcie-rust-
|
||||
|
||||
##TAURI
|
||||
npm komutunu proje kökünden değil, hcie-tauri-app/ altından çalıştırmalısın:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user