From ac90481d1a6ab012274b1fb5397874e30dc2e2b4 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Fri, 5 Jun 2020 15:42:13 +0200 Subject: [PATCH] Revert "test coverage thing" This reverts commit 680e11ed61dec2d9865b6b5250cc3215aa8b6f2b. --- pubspec.lock | 10 ++++------ pubspec.yaml | 8 ++------ test.sh | 2 +- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index e243c74c..7f54f842 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -596,12 +596,10 @@ packages: test_coverage: dependency: "direct dev" description: - path: "." - ref: "6831abb314cc05e32b5d9140324e84069484b2eb" - resolved-ref: "6831abb314cc05e32b5d9140324e84069484b2eb" - url: "https://github.com/pulyaevskiy/test-coverage.git" - source: git - version: "0.4.2" + name: test_coverage + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.1" timing: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 91cd5744..1fb76730 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,12 +29,8 @@ dependencies: dev_dependencies: test: ^1.0.0 - test_coverage: - git: - url: https://github.com/pulyaevskiy/test-coverage.git - ref: 6831abb314cc05e32b5d9140324e84069484b2eb -# test_coverage: ^0.4.1 + test_coverage: ^0.4.1 moor_generator: ^3.0.0 build_runner: ^1.5.2 pedantic: ^1.9.0 - moor_ffi: ^0.5.0 + moor_ffi: ^0.5.0 \ No newline at end of file diff --git a/test.sh b/test.sh index 6cc1c7b0..5efc1578 100644 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ #!/bin/sh -e pub run test -p vm -pub run test_coverage --print-test-output +pub run test_coverage 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