loro/justfile
2022-10-26 23:31:34 +08:00

35 lines
526 B
Makefile

build:
cargo build
test *FLAGS:
RUST_BACKTRACE=full cargo nextest run {{FLAGS}}
test-all:
cargo nextest run --features=fuzzing &
just _quickfuzz
_quickfuzz:
cd crates/loro-core && just quick-fuzz
check:
cargo clippy
check-unsafe:
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
fix:
cargo clippy --fix
deny:
cargo deny check
vet:
cargo vet
bench-rle:
cd crates/rle
cargo build --release --examples
cd ../..
hyperfine --warmup=3 "./target/release/examples/string_tree_bench"