-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmelos.yaml
More file actions
71 lines (53 loc) · 2.66 KB
/
melos.yaml
File metadata and controls
71 lines (53 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: customer
packages:
- ./
scripts:
init:
description: initialize and setup repo clone for development
exec: fvm dart pub get && fvm dart run husky install
run:test:
description: run the app with test environment
exec: fvm flutter run -t lib/main_test.dart --flavor fortest
run:dev:
description: run the app with dev environment
exec: fvm flutter run -t lib/main_dev.dart --flavor development
run:prod:
description: run the app with prod environment
exec: fvm flutter run -t lib/main_prod.dart --flavor production
fresh-run:test:
description: generate code and run the app with test environment
exec: fvm dart pub get && fvm dart run intl_utils:generate && fvm dart run build_runner build --delete-conflicting-outputs && fvm flutter run -t lib/main_test.dart --flavor fortest
fresh-run:dev:
description: generate code and run the app with dev environment
exec: fvm dart pub get && fvm flutter pub run intl_utils:generate && fvm dart run build_runner build --delete-conflicting-outputs && fvm flutter run -t lib/main_dev.dart --flavor development
fresh-run:prod:
description: generate code and run the app with prod environment
exec: fvm dart pub get && fvm flutter pub run intl_utils:generate && fvm dart run build_runner build --delete-conflicting-outputs && fvm flutter run -t lib/main_prod.dart --flavor production
web-run:test:
exec: fvm flutter build web -t lib/main_test.dart --no-tree-shake-icons && fvm flutter run -d chrome -t lib/main_test.dart --flavor fortest
web-run:dev:
exec: fvm flutter build web -t lib/main_dev.dart --no-tree-shake-icons && fvm flutter run -d chrome -t lib/main_dev.dart --flavor development --web-port=8080
web-run:prod:
exec: fvm flutter build web -t lib/main_prod.dart --no-tree-shake-icons && fvm flutter run -d chrome -t lib/main_prod.dart --flavor production --web-port=8080
analyze:
exec: fvm flutter analyze
test:
exec: fvm flutter test
test:golden:
description: run golden integration test
exec: fvm flutter test test/golden
update:golden:
description: update golden tests images
exec: fvm flutter test test/golden --update-goldens
generate:
description: generate code
exec: fvm dart run intl_utils:generate && fvm dart run build_runner build --delete-conflicting-outputs
clear-cache:
description: clear build-runner cache
exec: fvm flutter pub run build_runner clean
strings:
description: generate local strings
exec: fvm dart run intl_utils:generate
generate-launcher-icon:
description: generate Android and iOS launcher icons based on source image
exec: fvm flutter pub run flutter_launcher_icons