forked from sneurlax/microphone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
51 lines (47 loc) · 1.6 KB
/
Copy pathpubspec.yaml
File metadata and controls
51 lines (47 loc) · 1.6 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
name: microphone_workspace
publish_to: none
# Dart pub workspace root. Member packages set `resolution: workspace` and
# share a single lockfile. Melos drives multi-package tooling on top of this.
environment:
sdk: ^3.10.0
workspace:
- packages/microphone_dart
- packages/microphone_flutter
- packages/microphone_flutter/example
dev_dependencies:
melos: ^7.0.0
# Melos 7 reads its configuration from here (the pub-workspace root). Scripts
# mirror CI and use the right tool per package (dart vs flutter).
melos:
name: microphone
scripts:
analyze:
description: Analyze all packages.
run: >-
dart analyze packages/microphone_dart &&
flutter analyze packages/microphone_flutter
format:
description: Check Dart formatting.
run: >-
dart format --output none --set-exit-if-changed
packages/microphone_dart
packages/microphone_flutter/lib
packages/microphone_flutter/example/lib
format:fix:
description: Apply Dart formatting.
run: >-
dart format
packages/microphone_dart
packages/microphone_flutter/lib
packages/microphone_flutter/example/lib
test:
description: Run Dart and Flutter tests.
run: >-
dart test packages/microphone_dart &&
flutter test packages/microphone_flutter/test
native:build:
description: Build the microphone shared library (for CLI/dev use).
run: cargo build --manifest-path native/microphone/Cargo.toml
native:test:
description: Run the Rust crate tests.
run: cargo test --manifest-path native/microphone/Cargo.toml