loro/deno.jsonc
2022-12-09 11:33:39 +08:00

15 lines
775 B
Text

{
"tasks": {
"build": "cargo build",
// to debug a single test use
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-core --lib --features test_utils --features wasm -- fuzz::recursive::failed_tests::unknown --exact --nocapture &> debug.log
"test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils",
"test-all": "deno task test & deno task quick-fuzz & deno task test-wasm",
"test-prop": "RUSTFLAGS='--cfg=proptest' cargo nextest run --features=test_utils",
"test-wasm": "cd crates/loro-wasm && deno task dev web && deno task test",
"check": "cargo clippy --all-features",
"quick-fuzz": "cd crates/loro-core && deno task quick-fuzz",
"fix": "cargo clippy --fix --features=test_utils",
"vet": "cargo vet"
}
}