scroll/coverage.sh

10 lines
254 B
Bash
Raw Normal View History

2023-11-16 16:00:03 -05:00
#!/usr/bin/env bash
rm -fr /cov_profile/
deno test --allow-all --coverage=cov_profile
deno coverage cov_profile --lcov > cov_profile/cov_profile.lcov
genhtml -o cov_profile cov_profile/cov_profile.lcov
rm cov_profile/*.json
open cov_profile/index.html