-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
executable file
·51 lines (48 loc) · 1.85 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
name: THEOplayerFlutterSDK
packages:
- flutter_theoplayer_sdk/flutter_theoplayer_sdk_platform_interface
- flutter_theoplayer_sdk/flutter_theoplayer_sdk_android
- flutter_theoplayer_sdk/flutter_theoplayer_sdk_ios
- flutter_theoplayer_sdk/flutter_theoplayer_sdk_web
- flutter_theoplayer_sdk/flutter_theoplayer_sdk
- flutter_theoplayer_sdk/flutter_theoplayer_sdk/example
command:
bootstrap:
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
version:
includeScopes: false
workspaceChangelog: false
scripts:
analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
update:theoplayer:flutter:
description: |
Updates the versions of all the THEOplayer packages to the passed `VERSION` env, also committing the changes to the branch.
To run the script set the version env before the command. Example:
`VERSION=1.0.4 melos run update:theoplayer:flutter`
run:
melos version
--yes
--no-git-tag-version
--no-changelog
--message="version bump to $VERSION"
-V theoplayer_platform_interface:$VERSION
-V theoplayer_android:$VERSION
-V theoplayer_ios:$VERSION
-V theoplayer_web:$VERSION
-V theoplayer:$VERSION
update:theoplayer:native:
description: |
Updates the versions of all the THEOplayer packages to the passed `VERSION` env, also committing the changes to the branch.
To run the script set the version env before the command. Example:
`melos update:theoplayer:native -- --all 6.10.1`
run: ./scripts/update_theoplayer_native.sh