-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
48 lines (34 loc) · 1.03 KB
/
Justfile
File metadata and controls
48 lines (34 loc) · 1.03 KB
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
40
41
42
43
44
45
46
47
48
# just manual: https://github.com/casey/just#readme
_default:
just --list
# Run all tests with nextest
ci-test *args:
#!/bin/bash -eux
cargo nextest run --package hpke-core --package hpke-crypto {{args}} --locked
# =========== LOCAL COMMANDS ===========
build *args:
cargo build {{args}} --locked
b *args:
just build {{args}}
# Show coverage locally
cov *args:
#!/bin/bash -eux
cargo llvm-cov nextest --package hpke-core --package hpke-crypto {{args}} --locked --hide-instantiations --html --output-dir coverage
check *args:
cargo check {{args}} --locked --all-features
c *args:
just check {{args}}
clippy *args:
cargo clippy {{args}} --locked --all-features -- -Dclippy::all -Dclippy::pedantic
example *args:
cargo run --example {{args}}
e *args:
just example {{args}}
msrv *args:
cargo +1.91.0 clippy {{args}} --locked --all-features -- -Dclippy::all -Dclippy::pedantic
t *args:
just test {{args}}
test *args:
#!/bin/bash -eux
export RUST_BACKTRACE=1
cargo nextest run --package hpke-tests {{args}} --locked --all-features