-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmelos.yaml
More file actions
45 lines (42 loc) · 1.79 KB
/
Copy pathmelos.yaml
File metadata and controls
45 lines (42 loc) · 1.79 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
name: meld_workspace
packages:
- packages/*
- examples/showcase
- examples/showcase/cockpit
command:
bootstrap:
usePubspecOverrides: true
scripts:
format:
run: dart format --output=none --set-exit-if-changed .
description: Format and verify every Dart source file.
analyze:
run: melos exec -- "dart analyze ."
description: Analyze every workspace package.
brand:check:
run: dart run tool/check_brand.dart
description: Reject forbidden legacy brand names outside reference assets.
test:
run: melos run test:dart && melos run test:flutter
description: Run pure Dart and Flutter test suites.
test:dart:
run: melos exec --fail-fast --scope=meld_core --scope=meld_font -- "dart test"
description: Run pure Dart package tests.
test:flutter:
run: melos exec --concurrency=1 --fail-fast --scope=meld_flutter --scope=meld_showcase -- "flutter test"
description: Run Flutter widget and showcase tests.
benchmark:
run: melos exec --fail-fast --scope=meld_core -- "dart run benchmark/benchmark.dart"
description: Run package benchmarks where available.
benchmark:check:
run: melos exec --fail-fast --scope=meld_core -- "dart run benchmark/benchmark.dart --check"
description: Run benchmarks and enforce the checked-in performance budget.
coverage:check:
run: melos run coverage && dart run tool/check_coverage.dart
description: Collect Flutter coverage and enforce package thresholds.
coverage:
run: melos exec --concurrency=1 --fail-fast --scope=meld_flutter --scope=meld_showcase -- "flutter test --coverage"
description: Collect Flutter package coverage reports.
build:showcase:
run: melos exec --fail-fast --scope=meld_showcase -- "flutter build web --release"
description: Build the production Showcase web bundle.