mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 05:24:51 +00:00
30 lines
577 B
Makefile
30 lines
577 B
Makefile
build:
|
|
cargo build
|
|
|
|
test *FLAGS:
|
|
RUST_BACKTRACE=full cargo nextest run {{FLAGS}}
|
|
|
|
# test without proptest
|
|
test-fast *FLAGS:
|
|
RUSTFLAGS='--cfg no_prop_test' cargo nextest run {{FLAGS}}
|
|
|
|
# test with slower proptest
|
|
test-slow *FLAGS:
|
|
RUSTFLAGS='--cfg slow_proptest' cargo nextest run {{FLAGS}}
|
|
|
|
check-unsafe:
|
|
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
|
|
|
|
deny:
|
|
cargo deny check
|
|
|
|
crev:
|
|
cargo crev crate check
|
|
|
|
bench-rle:
|
|
cd crates/rle
|
|
cargo build --release --examples
|
|
cd ../..
|
|
hyperfine --warmup=3 "./target/release/examples/string_tree_bench"
|
|
|
|
|