-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathpubspec.yaml
More file actions
131 lines (121 loc) · 5.77 KB
/
Copy pathpubspec.yaml
File metadata and controls
131 lines (121 loc) · 5.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: flutter_midi_command
description: A Flutter plugin for sending and receiving MIDI messages between Flutter and physical and virtual MIDI devices.
version: 1.0.8
homepage: https://github.com/InvisibleWrench/FlutterMidiCommand
repository: https://github.com/InvisibleWrench/FlutterMidiCommand
issue_tracker: https://github.com/InvisibleWrench/FlutterMidiCommand/issues
documentation: https://github.com/InvisibleWrench/FlutterMidiCommand#readme
topics:
- midi
- flutter-plugin
- bluetooth
- webmidi
- music-tech
environment:
sdk: ">=3.7.0 <4.0.0"
flutter: ">=3.24.0"
# Dart pub workspace: local packages are linked from these paths (Melos 7+ uses
# native pub workspaces instead of generated pubspec_overrides.yaml). Globs are
# not supported here, so members are listed explicitly. The root package itself
# is a member via `melos: useRootAsPackage: true` below.
workspace:
- packages/flutter_midi_command_platform_interface
- packages/flutter_midi_command_android
- packages/flutter_midi_command_darwin
- packages/flutter_midi_command_linux
- packages/flutter_midi_command_web
- packages/flutter_midi_command_windows
- packages/flutter_midi_command_ble
- example
dependencies:
flutter:
sdk: flutter
async: ^2.12.0
flutter_midi_command_platform_interface: ^1.0.8
flutter_midi_command_linux: ^1.0.8
flutter_midi_command_windows: ^1.0.8
flutter_midi_command_web: ^1.0.8
flutter_midi_command_android: ^1.0.8
flutter_midi_command_darwin: ^1.0.8
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
melos: ^8.2.2
pigeon: ^22.6.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' and Android 'package' identifiers should not ordinarily
# be modified. They are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
platforms:
android:
default_package: flutter_midi_command_android
ios:
default_package: flutter_midi_command_darwin
macos:
default_package: flutter_midi_command_darwin
linux:
default_package: flutter_midi_command_linux
windows:
default_package: flutter_midi_command_windows
web:
default_package: flutter_midi_command_web
# Melos 7+ config lives here (there is no more melos.yaml). Packages are derived
# from the `workspace:` field above; `useRootAsPackage` adds this root package.
melos:
name: flutter_midi_command_workspace
useRootAsPackage: true
command:
version:
# The root package (flutter_midi_command) shares its CHANGELOG.md with the
# workspace root, so the generated workspace changelog would overwrite the
# package's own changelog. Disable it and keep per-package changelogs only.
workspaceChangelog: false
scripts:
analyze:
run: dart run melos exec --concurrency=1 --ignore=flutter_midi_command_example -- "flutter analyze"
analyze:example:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter analyze"
test:
run: dart run melos exec --dir-exists=test --concurrency=1 --ignore=flutter_midi_command_example --ignore=flutter_midi_command_web -- "flutter test"
test:web:chrome:
run: dart run melos exec --scope=flutter_midi_command_web -- "flutter test --platform chrome"
test:native:android:
run: bash ./example/android/gradlew -p example/android :flutter_midi_command_android:testDebugUnitTest
test:native:darwin:
run: swift package --package-path packages/flutter_midi_command_darwin/darwin/flutter_midi_command_darwin describe
test:native:linux:
run: dart run melos exec --scope=flutter_midi_command_linux -- "flutter test"
test:native:windows:
run: dart run melos exec --scope=flutter_midi_command_windows -- "flutter test"
test:example:integration:android:
run: dart run melos exec --scope=flutter_midi_command_example -- "bash tool/run_android_smoke_test.sh"
test:example:integration:ios:
run: dart run melos exec --scope=flutter_midi_command_example -- "bash tool/run_ios_smoke_test.sh"
test:example:integration:linux:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter test integration_test/smoke_test.dart -d linux"
test:example:integration:macos:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter test integration_test/smoke_test.dart -d macos"
test:example:integration:web:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter test test/smoke_web_test.dart --platform chrome"
test:example:integration:windows:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter test integration_test/smoke_test.dart -d windows"
build:example:android:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build apk --debug --target-platform android-arm64 --android-skip-build-dependency-validation"
build:example:linux:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build linux --debug"
build:example:ios:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build ios --debug --no-codesign"
build:example:macos:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build macos --debug"
build:example:windows:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build windows --debug"
build:example:web:
run: dart run melos exec --scope=flutter_midi_command_example -- "flutter build web --debug"
format:
run: dart run melos exec -- "dart format --set-exit-if-changed ."