loro/justfile

31 lines
577 B
Makefile
Raw Normal View History

2022-07-20 16:39:19 +00:00
build:
cargo build
test *FLAGS:
2022-08-11 12:12:47 +00:00
RUST_BACKTRACE=full cargo nextest run {{FLAGS}}
2022-07-20 16:39:19 +00:00
# test without proptest
2022-08-12 11:06:13 +00:00
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}}
2022-07-25 05:00:22 +00:00
check-unsafe:
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
deny:
cargo deny check
crev:
cargo crev crate check
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"