-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Justfile
34 lines (27 loc) · 838 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
# just manual: https://github.com/casey/just#readme
_default:
just --list
# Run all tests with nextest and cargo-llvm-cov
ci-test:
#!/bin/bash -eux
for backend in ring aws_lc_rs; do
cargo llvm-cov nextest --no-default-features --features tls12,$backend --lcov --output-path coverage.lcov
done
# Show coverage locally
cov:
#!/bin/bash -eux
cargo llvm-cov nextest --hide-instantiations --html --output-dir coverage
t *args:
just test {{args}}
# Run all tests
test *args:
#!/bin/bash -eux
export RUST_BACKTRACE=1
for feature in ring aws_lc_rs; do
cargo nextest run --no-default-features --features tls12,$feature {{args}}
done
c *args:
just check {{args}}
check:
cargo clippy --no-default-features --features tls12,ring --all-targets
cargo clippy --no-default-features --features tls12,aws_lc_rs --all-targets