-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmelos.yaml
74 lines (58 loc) · 1.78 KB
/
melos.yaml
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
72
73
74
name: quran
packages:
- app
- packages/**
- packages/mq_app_ui/gallery/
command:
bootstrap:
runPubGetInParallel: false
usePubspecOverrides: true
scripts:
format-code:
exec: dart format . --line-length 120
description: "Format Dart code for selected package"
format-check:
exec: dart format . --line-length 120 --set-exit-if-changed
description: "Check format all Dart code"
analyze:
exec: flutter analyze
description: "Analyze all Dart code"
analyze-check:
exec: flutter analyze --fatal-warnings
description: "Analyze all Dart code and exit if there are any fatal warnings"
flutter-clean:
exec: flutter clean
description: "Clean pub dependencies"
pub-get:
exec: flutter pub get
description: "Get pub dependencies"
unit-test:
exec: flutter test
description: "Run unit tests (all packages)"
doctor:
run: flutter doctor
description: "Run Flutter doctor"
run-build-runner:
run: |
./scripts/delete_g_files.sh
melos exec --depends-on="build_runner" -- flutter pub run build_runner build
dart format . --line-length 120
description: "Generate code with build_runner"
# Run My Quran
run-app:
run: cd app && flutter run
description: "Run my_quran"
# Build apk and appbundle My Quran
build-apk:
run: cd app && flutter build apk
description: "Build an APK file"
build-ios:
run: cd app && flutter build ios --release --no-codesign
description: "Build an IOS file"
build-appbundle:
run: cd app && flutter build appbundle
description: "Build an appbundle file"
# Integration test My Quran
integration-test:
run: cd app && flutter drive --target=test_driver/app.dart --no-enable-impeller
description: "Run integration tests for the my_quran"