forked from sneurlax/camera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
43 lines (39 loc) · 1.48 KB
/
pubspec.yaml
File metadata and controls
43 lines (39 loc) · 1.48 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
name: camera_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/camera_dart
- packages/camera_flutter
- packages/camera_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: camera
scripts:
analyze:
description: Analyze all packages.
run: dart analyze packages/camera_dart && flutter analyze packages/camera_flutter
format:
description: Check Dart formatting.
run: >-
dart format --output none --set-exit-if-changed
packages/camera_dart packages/camera_flutter/lib packages/camera_flutter/example/lib
format:fix:
description: Apply Dart formatting.
run: >-
dart format
packages/camera_dart packages/camera_flutter/lib packages/camera_flutter/example/lib
test:
description: Run Dart and Flutter tests.
run: dart test packages/camera_dart && flutter test packages/camera_flutter/test
native:build:
description: Build the camera_cli shared library (for CLI/dev use).
run: cargo build --manifest-path native/camera_cli/Cargo.toml
native:test:
description: Run the Rust crate tests.
run: cargo test --manifest-path native/camera_cli/Cargo.toml