2022-11-21 04:50:15 +00:00
|
|
|
{
|
|
|
|
"tasks": {
|
|
|
|
"build": "cargo build",
|
2022-11-28 10:14:05 +00:00
|
|
|
// to debug a single test use
|
2022-12-06 08:34:46 +00:00
|
|
|
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-core --lib --features test_utils --features wasm -- fuzz::recursive::failed_tests::unknown --exact --nocapture &> debug.log
|
2022-11-24 04:15:25 +00:00
|
|
|
"test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils",
|
2022-11-24 07:10:21 +00:00
|
|
|
"test-all": "deno task test & deno task quick-fuzz & deno task test-wasm",
|
2022-11-21 04:50:15 +00:00
|
|
|
"test-prop": "RUSTFLAGS='--cfg=proptest' cargo nextest run --features=test_utils",
|
2022-11-23 11:59:57 +00:00
|
|
|
"test-wasm": "cd crates/loro-wasm && deno task build && deno task test",
|
2022-11-21 04:50:15 +00:00
|
|
|
"check": "cargo clippy --all-features",
|
2022-11-21 08:02:29 +00:00
|
|
|
"quick-fuzz": "cd crates/loro-core && deno task quick-fuzz",
|
2022-11-21 04:50:15 +00:00
|
|
|
"fix": "cargo clippy --fix --features=test_utils",
|
|
|
|
"vet": "cargo vet"
|
|
|
|
}
|
|
|
|
}
|