Skip to content

Commit

Permalink
🐛 fix Makefile show_test_coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Oct 26, 2023
1 parent e5417d1 commit 5b6fcb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chopper/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sure:
show_test_coverage:
@# Help: Run Dart unit tests for the current project and show the coverage.
dart pub global activate coverage && dart pub global run coverage:test_with_coverage
lcov --remove coverage/lcov.info '**.g.dart' '**.mock.dart' '**.chopper.dart' -o coverage/lcov_without_generated_code.info
lcov --remove coverage/lcov.info '**.g.dart' '**.mock.dart' '**.chopper.dart' -o coverage/lcov_without_generated_code.info --ignore-errors unused
genhtml coverage/lcov_without_generated_code.info -o coverage/html
source ../tool/makefile_helpers.sh && open_link "coverage/html/index.html"

Expand Down
2 changes: 1 addition & 1 deletion chopper_built_value/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sure:
show_test_coverage:
@# Help: Run Dart unit tests for the current project and show the coverage.
dart pub global activate coverage && dart pub global run coverage:test_with_coverage
lcov --remove coverage/lcov.info '**.g.dart' '**.mock.dart' '**.chopper.dart' -o coverage/lcov_without_generated_code.info
lcov --remove coverage/lcov.info '**.g.dart' '**.mock.dart' '**.chopper.dart' -o coverage/lcov_without_generated_code.info --ignore-errors unused
genhtml coverage/lcov_without_generated_code.info -o coverage/html
source ../tool/makefile_helpers.sh && open_link "coverage/html/index.html"

Expand Down

0 comments on commit 5b6fcb4

Please sign in to comment.