diff --git a/abis/SwanAgent.json b/abis/SwanAgent.json index 9c031f5..2524a2a 100644 --- a/abis/SwanAgent.json +++ b/abis/SwanAgent.json @@ -621,4 +621,4 @@ } ] } -] +] \ No newline at end of file diff --git a/coverage.sh b/coverage.sh index 15612c1..a4c3521 100755 --- a/coverage.sh +++ b/coverage.sh @@ -17,14 +17,18 @@ then exit fi +# create coverage directory for outputs +mkdir -p coverage + # generate coverage info forge coverage \ --report lcov \ --report summary \ - --no-match-coverage "(test|mock|script)" + --no-match-coverage "(test|mock|script)" \ + --report-file ./coverage/lcov.info # generate HTML report from lcov.info -genhtml lcov.info -o coverage --branch-coverage --ignore-errors inconsistent,category,corrupt +genhtml ./coverage/lcov.info -o coverage --branch-coverage --ignore-errors inconsistent,category,corrupt # open report -open coverage/index.html +open ./coverage/index.html