-
Notifications
You must be signed in to change notification settings - Fork 5
/
justfile
38 lines (27 loc) · 793 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ci: test build doc clippy fmt context-integration-tests run-examples forbidden-words render-readme-check
build:
cargo build --all-targets --all-features
test +pattern="":
cargo test --all {{ pattern }}
test-lib-fast +pattern="":
cargo test --lib {{ pattern }}
context-integration-tests:
cargo run --features "test_executables" --bin context_integration_tests
doc +args="":
cargo doc --all {{args}}
clippy:
cargo clippy --all-targets --all-features
fmt:
cargo fmt --all -- --check
run-examples:
cargo run --example readme
render-readme:
php README.php > README.md
render-readme-check:
#!/usr/bin/env bash
diff <(php README.php) README.md
forbidden-words:
! grep -rni \
'dbg!\|fixme\|todo\|ignore' \
src tests examples
@echo No forbidden words found