-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from LtbLightning/upgrade-bdk-ffi-v0.28
Upgrade to bdk v0.28
- Loading branch information
Showing
41 changed files
with
7,225 additions
and
2,945 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,32 @@ | ||
#!/usr/bin/env bash | ||
printf "\e[33;1m%s\e[0m\n" 'Running flutter format' | ||
dart format . | ||
printf "\e[33;1m%s\e[0m\n" 'Running cargo fmt' | ||
cd rust || exit | ||
cargo fmt | ||
cd ../ | ||
git add . | ||
printf "\e[33;1m%s\e[0m\n" 'Finished formatting' | ||
|
||
printf "\e[33;1m%s\e[0m\n" 'Running flutter analyze' | ||
flutter analyze | ||
if [ $? -ne 0 ] ; then | ||
exit 1 | ||
fi | ||
printf "\e[33;1m%s\e[0m\n" 'Finished running flutter analyze' | ||
|
||
printf "\e[33;1m%s\e[0m\n" 'Running flutter test' | ||
flutter test ./test/bdk_flutter_test.dart | ||
if [ $? -ne 0 ] ; then | ||
printf "\e[31;1m%s\e[0m\n" 'Mock tests error' | ||
exit 1 | ||
fi | ||
printf "\e[33;1m%s\e[0m\n" 'Finished running flutter test' | ||
|
||
printf "\e[33;1m%s\e[0m\n" 'Running flutter publish --dry-run' | ||
flutter pub publish --dry-run | ||
if [ $? -ne 0 ] ; then | ||
printf "\e[31;1m%s\e[0m\n" 'publish --dry-run error' | ||
exit 1 | ||
fi | ||
printf "\e[33;1m%s\e[0m\n" 'Finished running flutter publish --dry-run' |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.