| 1 |
# https://github.com/casey/just |
| 2 |
|
| 3 |
dev: |
| 4 |
just fmt |
| 5 |
just check |
| 6 |
just test |
| 7 |
|
| 8 |
fmt: |
| 9 |
cargo fmt --all |
| 10 |
|
| 11 |
check: |
| 12 |
cargo check |
| 13 |
cargo clippy -- -D warnings |
| 14 |
|
| 15 |
test: |
| 16 |
cargo test --all-features -- --test-threads=1 --nocapture |
| 17 |
cargo run --example nofile |
| 18 |
|
| 19 |
doc: |
| 20 |
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps --open --all-features |
| 21 |
|
| 22 |
codegen: |
| 23 |
#!/bin/bash -e |
| 24 |
cd {{justfile_directory()}} |
| 25 |
./scripts/codegen.sh |
| 26 |
|
| 27 |
sync-version: |
| 28 |
cargo set-version -p rlimit 0.11.0 |
| 29 |
|
| 30 |
publish: |
| 31 |
cargo publish -p rlimit |
| 32 |
|
| 33 |
ci: |
| 34 |
just fmt |
| 35 |
cargo check |
| 36 |
cargo +nightly clippy -- -D warnings |
| 37 |
cargo +stable clippy -- -D warnings -A unknown-lints |