feat: Implement Flutter flavors for dev, stage, and prod environments with corresponding configurations and build scripts.
This commit is contained in:
@@ -9,3 +9,39 @@ workspace:
|
||||
|
||||
dev_dependencies:
|
||||
melos: ^7.3.0
|
||||
|
||||
melos:
|
||||
command:
|
||||
bootstrap:
|
||||
usePubspecOverrides: true
|
||||
scripts:
|
||||
run:staff:dev:
|
||||
exec: flutter run --flavor dev -t lib/main_dev.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Run krow_staff app in dev flavor
|
||||
run:staff:stage:
|
||||
exec: flutter run --flavor stage -t lib/main_stage.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Run krow_staff app in stage flavor
|
||||
run:staff:prod:
|
||||
exec: flutter run --flavor prod -t lib/main_prod.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Run krow_staff app in prod flavor
|
||||
build:staff:dev:
|
||||
exec: flutter build apk --flavor dev -t lib/main_dev.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Build krow_staff apk in dev flavor
|
||||
build:staff:stage:
|
||||
exec: flutter build apk --flavor stage -t lib/main_stage.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Build krow_staff apk in stage flavor
|
||||
build:staff:prod:
|
||||
exec: flutter build apk --flavor prod -t lib/main_prod.dart
|
||||
packageFilters:
|
||||
scope: krow_staff
|
||||
description: Build krow_staff apk in prod flavor
|
||||
|
||||
Reference in New Issue
Block a user