forked from TheLostLambda/pgfinder-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
39 lines (29 loc) · 1.22 KB
/
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
39
watch:
watchexec -e rs,toml,kdl just test
test:
cargo test --workspace
# FIXME: The --workspace flag appears to be broken at the moment: https://github.com/mitsuhiko/insta/issues/396
review:
cargo insta test --review
sh -c 'for crate in `ls crates`; do (cd "crates/$crate" && cargo insta test --review); done'
bench:
cargo bench --workspace
# FIXME: Get rid of these -A flags
lint:
cargo fmt --check
cargo clippy --workspace --tests -- -W clippy::nursery -W clippy::pedantic -W clippy::cargo -A clippy::missing_errors_doc -A clippy::cargo_common_metadata -A clippy::multiple_crate_versions
cov:
cargo +nightly llvm-cov --workspace --branch --open
ci-cov:
cargo +nightly llvm-cov --workspace --branch --codecov --output-path codecov.json
check-wasm:
sh -c 'for crate in `ls crates`; do (cd "crates/$crate" && cargo check --target wasm32-unknown-unknown); done'
ebnf:
ebnf2railroad grammar/peptidoglycan.ebnf -t PGLang --write-style
firefox grammar/peptidoglycan.html
delete-unused-snapshots:
fd -e snap -I -x rm {}
cargo insta test --accept
sh -c 'for crate in `ls crates`; do (cd "crates/$crate" && cargo insta test --accept); done'
min-versions:
cargo +nightly test --workspace -Z direct-minimal-versions