make clean
: Runflutter clean
for all Packagesmake setup
: Runflutter clean && flutter pub get
for all Packagesmake setup_dev
: Runflutter clean && flutter pub get && flutter pub upgrade && flutter pub run dependency_validator
for all Packages and validates dependenciesmake build
: Runflutter pub run build_runner build
for all Packagesmake to_local
: Switch PayU dependencies to localmake to_git
: Switch PayU dependencies to gitmake tests
: Run tests for all Packages
Create branch for feature, bugfix, etc. from main
branch:
- for ex.:
feature/92-add-new-payment-method-support
- for ex.:
bugfix/114-the-placeholder-for-card-cvv-is-incorrect
Set to local dependencies in pubspec.yaml
: make to_local
Make changes:
- Make changes in
{Package}/lib/src/
folder for package - Update
example
app (optional) - Run
example
app (optional) - Push changes to your branch
Update tests:
- Update tests in
{Package}/test
folder - Run tests in
{Package}/test
folder - Push changes to your branch
Update documentation:
- Update documentation in
{Package}/README.md
(optional) - Update documentation in
README.md
(optional) - Push changes to your branch
Set the correct pubspec.yaml
dependencies:
- Set to git dependencies in
pubspec.yaml
:make to_git
Ensure all tests passed:
- Run
make setup
command inTerminal
from the project root folder - Run
make tests
command inTerminal
from the project root folder - Push changes to your branch
Update documentation according to new version:
- Update
README.md
in the project root folder - Update
Changelog.md
in the project root folder - Push changes to your branch
- Make pull request into
main
branch from your branch - Merge your branch into
main
branch - Push
tag
with new version tomain
branch