Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ build/
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

coverage
pubspec.lock
2 changes: 0 additions & 2 deletions lib/src/collector.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import 'dart:convert';
import 'dart:io';

import 'package:lcov/lcov.dart';
import 'package:path/path.dart' as path;

Future runTestsWithCoverage(String packageRoot) async {
final script = path.join(packageRoot);
final flutterArgs = ['test', '--coverage', ''];

final process = await Process.start('flutter', flutterArgs,
Expand Down
191 changes: 0 additions & 191 deletions pubspec.lock

This file was deleted.

5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: flutter_coverage_badge
description: Flutter Coverage Badge
version: 0.0.1+1
author: Minsu Lee <amond@amond.net>
homepage: https://github.com/amondnet/flutter_coverage_badge
publish_to: none

environment:
sdk: '>=2.12.0 <3.0.0'
Expand All @@ -19,7 +19,8 @@ dependencies:
args: ^2.1.0
lcov:
git:
url: git@github.com:amondnet/lcov.dart.git
url: https://github.com/csells/lcov.dart.git
ref: 4319102fa64eeba72fe8dfab024762e6253e3c93


dev_dependencies:
Expand Down