Ignore *.g.dart for test coverage

This commit is contained in:
Christian Pauly 2020-05-26 20:08:21 +00:00
parent ad5b02e0ef
commit 06ec71ea00
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/sh -e
pub run test -p vm
pub run test_coverage
genhtml -o coverage coverage/lcov.info || true
pub global activate remove_from_coverage
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$'
genhtml -o coverage coverage/lcov.info || true