dir_spec 0.5.1

A cross-platform Rust library for resolving XDG and platform-specific directories with proper fallbacks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env sh
#MISE description="Run all tests"
#MISE alias=["t"]
#USAGE flag "--filter" help="Filter tests by name" {
#USAGE   arg "<filter>"
#USAGE }

set -e

FILTER_ARGS=""
if [ -n "${usage_filter}" ]; then
  FILTER_ARGS="--no-fail-fast --filter-expr 'test(/${usage_filter}/)'"
fi

eval cargo llvm-cov nextest --workspace --summary-only --all-features --no-tests pass "${FILTER_ARGS}"
cargo llvm-cov report --html --output-dir coverage
cargo llvm-cov report --cobertura --output-path coverage/cobertura.xml