cargo-matrix 0.4.0

Run feature matrices against cargo commands that support feature lists
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env fish

argparse 'no-test' -- $argv
or exit 1

cargo fmt
and cargo fmt --all -- --check
and cargo matrix clippy --all-targets -- -D warnings
and cargo matrix build
or exit $status

if not set -q _flag_no_test
    cargo nextest run
    and cargo llvm-cov nextest -F unstable --no-report
    and cargo llvm-cov report --lcov --output-path lcov.info
    and cargo llvm-cov report --html
end