-
Notifications
You must be signed in to change notification settings - Fork 37
Before code contribution (ing..)
Changseok Han edited this page Aug 15, 2019
·
1 revision
Always use the latest stable version of Rust compiler.
- Install clippy
cargo clean
cargo clippy -- -D warnings
cargo build --verbose --all
cargo clippy --all-targets --all-features -- -D warnings -A clippy::cognitive_complexity
cargo test --verbose --all
cd wasm && cargo clippy -- -D warnings -A clippy::suspicious_else_formatting
cd ../nodejs/native && cargo clippy -- -D warnings
The goal is to continue 85% ~ 90%
- Install tarpaulin
cargo tarpaulin --exclude-files nodejs wasm parser/mod.rs