diff --git a/admin/coverage b/admin/coverage new file mode 100755 index 0000000..c4c0d85 --- /dev/null +++ b/admin/coverage @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -e + +source <(cargo llvm-cov show-env --export-prefix) +cargo llvm-cov clean --workspace + +cargo build --locked --all-targets --all-features +cargo test --locked --all-features +cargo llvm-cov report "$@"