2022-11-21 04:50:15 +00:00
|
|
|
{
|
|
|
|
"tasks": {
|
2023-07-11 16:29:23 +00:00
|
|
|
"check-all": "cargo hack check --each-feature",
|
2022-11-21 04:50:15 +00:00
|
|
|
"build": "cargo build",
|
2022-11-28 10:14:05 +00:00
|
|
|
// to debug a single test use
|
2023-01-16 10:44:19 +00:00
|
|
|
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-internal --lib --features test_utils --features wasm -- fuzz::recursive::failed_tests::unknown --exact --nocapture &> debug.log
|
2023-10-29 06:02:13 +00:00
|
|
|
"test": "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",
|
2023-04-03 01:29:25 +00:00
|
|
|
"test-wasm": "cd crates/loro-wasm && deno task dev && cd ../../loro-js && pnpm i && pnpm run test",
|
2023-11-08 04:12:04 +00:00
|
|
|
"release-wasm": "cd crates/loro-wasm && deno task release && cd ../../loro-js && pnpm i && pnpm run test",
|
2022-11-21 04:50:15 +00:00
|
|
|
"check": "cargo clippy --all-features",
|
2023-01-16 10:44:19 +00:00
|
|
|
"quick-fuzz": "cd crates/loro-internal && deno task quick-fuzz",
|
2022-11-21 04:50:15 +00:00
|
|
|
"fix": "cargo clippy --fix --features=test_utils",
|
|
|
|
"vet": "cargo vet"
|
|
|
|
}
|
|
|
|
}
|