diff options
| author | Kostya <mail@sartin.in> | 2026-08-20 10:24:22 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-08-20 10:24:22 +0300 |
| commit | 8089a72ef6065a2a01304aa1cc251d9950731527 (patch) | |
| tree | 0e6f7869ab75ff03f9a3353dde3405fdab26f2be /tools/_util.sh | |
| parent | cc772de4f973bcfba5d99dbfcfe80513d3261b0c (diff) | |
| download | guess-market-8089a72ef6065a2a01304aa1cc251d9950731527.tar.gz guess-market-8089a72ef6065a2a01304aa1cc251d9950731527.tar.xz guess-market-8089a72ef6065a2a01304aa1cc251d9950731527.zip | |
Add JaCoCo coverage reporting to test.sh
Vendor jacocoagent.jar/jacococli.jar under lib/jacoco/ (excluded from
the shipped classpath), attach the agent during test runs, and
generate an HTML+XML report into build/coverage after tests pass.
Diffstat (limited to 'tools/_util.sh')
| -rw-r--r-- | tools/_util.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/_util.sh b/tools/_util.sh index fa7e3b5..fde4797 100644 --- a/tools/_util.sh +++ b/tools/_util.sh | |||
| @@ -29,7 +29,7 @@ if [ ! -x "$JAR" ]; then | |||
| 29 | fi | 29 | fi |
| 30 | 30 | ||
| 31 | is_shippable_jar() { | 31 | is_shippable_jar() { |
| 32 | case "$1" in *-sources.jar | *-javadoc.jar) return 1 ;; *) return 0 ;; esac | 32 | case "$1" in *-sources.jar | *-javadoc.jar | lib/jacoco/*) return 1 ;; *) return 0 ;; esac |
| 33 | } | 33 | } |
| 34 | LIBCP="" | 34 | LIBCP="" |
| 35 | for j in lib/*/*.jar; do | 35 | for j in lib/*/*.jar; do |