-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: v2.1.1, loosen dependency constraints for meta and collection (#26
) * fix: loosen dependency constraints for meta and collection * chore: update pubspec & changelog * docs: improve arrows in changelog
- Loading branch information
1 parent
a5fea6e
commit 9342838
Showing
5 changed files
with
78 additions
and
58 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
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ words: | |
- japanese | ||
- Mergify | ||
- Moseco | ||
- narumi | ||
- NNBD | ||
- Ōsaka | ||
- pubspec | ||
|
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
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
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 |
---|---|---|
@@ -1,28 +1,36 @@ | ||
#!/bin/sh | ||
|
||
echo "Running dartfmt..." | ||
dartfmt -w . | ||
echo "Running dartanalyzer..." | ||
dartanalyzer --fatal-infos --fatal-warnings lib test | ||
echo "Running codecov..." | ||
function print_bold() { | ||
echo "\033[1m$1\033[0m" | ||
} | ||
|
||
print_bold "Formatting..." | ||
fvm dart format lib test | ||
|
||
print_bold "Analyzing..." | ||
fvm dart analyze --fatal-infos --fatal-warnings lib test | ||
|
||
print_bold "Running codecov..." | ||
rm -rf ./coverage | ||
pub run test_coverage | ||
|
||
fvm dart run coverage:test_with_coverage | ||
lcov --remove ./coverage/lcov.info -o ./coverage/filtered.info\ | ||
'**/*.g.dart' \ | ||
'lib/src/models/romanization/**' | ||
genhtml -o coverage ./coverage/filtered.info | ||
open ./coverage/index.html | ||
echo "Running dry run publish..." | ||
pub publish --dry-run | ||
|
||
echo "" | ||
echo "Done." | ||
echo "" | ||
print_bold "Running dry run publish..." | ||
fvm dart pub publish --dry-run | ||
|
||
print_bold "" | ||
print_bold "Done." | ||
print_bold "" | ||
|
||
if [ -z "$(git status --porcelain)" ]; then | ||
echo "Working directory clean." | ||
print_bold "Working directory clean." | ||
exit 0 | ||
else | ||
echo "! Uncommitted changes detected. Please push the new changes to this branch." | ||
print_bold "! Uncommitted changes detected. Please push the new changes to this branch." | ||
exit 1 | ||
fi |