-
Notifications
You must be signed in to change notification settings - Fork 5
/
melos.yaml
45 lines (40 loc) · 1.17 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
name: Dart_Board
repository: https://github.com/ahammer/dart_board
packages:
- integrations/**
- core/**
- templates/**
- features/**
- example_features/**
ide:
intellij:
false
# TODO(Salakar): more granular control
# use_workspace_tasks: true
# use_flutter_test_tasks: true
# use_flutter_run_tasks: true
# use_dart_test_tasks: false
vscode:
true
# TODO(Salakar): more granular control
# use_workspace_tasks: true
# use_flutter_test_tasks: true
# use_flutter_run_tasks: true
# use_dart_test_tasks: false
# use_recommended_settings: true
scripts:
analyze:
run: melos exec -c 1 -- "dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
ignore:
- "*monorepo*"
test:
description: Run tests in a specific package.
# TODO(Salakar) 'dart pub get' is necessary for the 'melos' package as we're using it on itself
run: melos exec --concurrency=1 -- "dart pub get && dart pub run test --reporter expanded"
select-package:
dir-exists:
- "test/"
format: dart format -o write .
version: dart run scripts/generate_version.dart