-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh -e | ||
|
||
# A script for computing combined coverage for all packages in the repo. | ||
# This can be used for viewing coverage locally in your editor. | ||
|
||
PACKAGES='cli db server types ui' | ||
|
||
for PACKAGE_DIR in $PACKAGES | ||
do | ||
echo $PACKAGE_DIR | ||
cd packages/$PACKAGE_DIR | ||
dart pub get | ||
dart test --coverage=coverage | ||
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib --check-ignore | ||
cd ../.. | ||
done | ||
|
||
dart pub global run combine_coverage --repo-path . |
This file was deleted.
Oops, something went wrong.