melos bootstrap
// or
melos bs
- run "flutter pub run build_runner build --delete-conflicting-outputs" in melos open melos.yaml file
scripts:
generate:flutter:
run: melos exec -c 1 --depends-on="build_runner" --flutter -- "flutter pub run build_runner build --delete-conflicting-outputs"
description: Build all generated files for Flutter packages in this project.
- build apk android:
scripts:
build_android: flutter build apk --flavor dev
# or with flutter v3.7.7 upgrade
scripts:
build_android: flutter build apk --flavor dev --no-tree-shake-icons