2022-07-20 16:39:19 +00:00
|
|
|
build:
|
|
|
|
cargo build
|
|
|
|
|
2022-08-10 16:43:47 +00:00
|
|
|
test *FLAGS:
|
2022-10-26 15:30:15 +00:00
|
|
|
RUST_BACKTRACE=full cargo nextest run --features=fuzzing {{FLAGS}}
|
2022-07-20 16:39:19 +00:00
|
|
|
|
2022-10-21 03:32:56 +00:00
|
|
|
test-all:
|
2022-10-24 03:33:39 +00:00
|
|
|
cargo nextest run --features=fuzzing &
|
2022-10-24 03:51:36 +00:00
|
|
|
just _quickfuzz
|
2022-10-26 15:30:15 +00:00
|
|
|
|
|
|
|
test-prop:
|
|
|
|
cargo nextest run --features=proptest
|
2022-10-21 03:32:56 +00:00
|
|
|
|
2022-10-24 03:51:36 +00:00
|
|
|
_quickfuzz:
|
2022-10-21 03:32:56 +00:00
|
|
|
cd crates/loro-core && just quick-fuzz
|
2022-07-25 05:00:22 +00:00
|
|
|
|
2022-09-16 14:15:58 +00:00
|
|
|
check:
|
|
|
|
cargo clippy
|
|
|
|
|
2022-07-25 05:00:22 +00:00
|
|
|
check-unsafe:
|
|
|
|
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
|
|
|
|
|
2022-09-01 17:14:39 +00:00
|
|
|
fix:
|
|
|
|
cargo clippy --fix
|
|
|
|
|
2022-07-25 05:00:22 +00:00
|
|
|
deny:
|
|
|
|
cargo deny check
|
|
|
|
|
2022-09-22 05:02:04 +00:00
|
|
|
vet:
|
|
|
|
cargo vet
|
2022-08-12 12:46:38 +00:00
|
|
|
|
|
|
|
bench-rle:
|
|
|
|
cd crates/rle
|
|
|
|
cargo build --release --examples
|
|
|
|
cd ../..
|
|
|
|
hyperfine --warmup=3 "./target/release/examples/string_tree_bench"
|
|
|
|
|
|
|
|
|