-
Notifications
You must be signed in to change notification settings - Fork 9
/
melos.yaml
62 lines (48 loc) · 2.01 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: lndart_cln
ide:
intellij: true
packages:
- packages/**
scripts:
analyze:
run: melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
rpc_analyze:
run: melos exec -c 1 --scope="clightning_rpc" -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
plugin_analyze:
run: melos exec -c 1 --scope="cln_plugin_api" -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
common_analyze:
run: melos exec -c 1 --scope="cln_common" -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
lnlambda_analyze:
run: melos exec -c 1 --scope="lnlambda" -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
plugin_test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 --scope="cln_plugin_api" -- "dart pub get && dart pub run test"
env:
MELOS_TEST: true
common_test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 --scope="cln_common" -- "dart pub get && dart pub run test"
env:
MELOS_TEST: true
lnlambda_test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 --scope="lnlambda" -- "dart pub get && dart pub run test"
env:
MELOS_TEST: true
rpc_test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 --scope="clightning_rpc" -- "dart pub get && dart pub run test"
env:
MELOS_TEST: true
build_plugin:
description: Build the plugin used inside the tests.
run: melos exec --concurrency=2 --scope="cln_plugin_api" -- "make examples"
env:
MELOS_TEST: true
format: dart format -o write .