Refactor websocket
This commit is contained in:
parent
ebac452a86
commit
f3d367e479
22 changed files with 924 additions and 773 deletions
14
run-coverage.sh
Executable file
14
run-coverage.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export RUSTFLAGS="-C instrument-coverage"
|
||||
|
||||
cargo run
|
||||
|
||||
llvm-profdata merge -sparse default_*.profraw -o emgauwa-core.profdata
|
||||
|
||||
llvm-cov report \
|
||||
--object ./target/debug/emgauwa-core \
|
||||
--instr-profile=emgauwa-core.profdata \
|
||||
--ignore-filename-regex="${CARGO_HOME:-.cargo/registry}" \
|
||||
--use-color \
|
||||
--summary-only
|
||||
Loading…
Reference in a new issue