forked from powersync-ja/powersync.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
43 lines (35 loc) · 1.02 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
name: powersync_dart
packages:
- packages/*
- demos/*
- demos/*/*
ide:
intellij: false
scripts:
format:
description: Format Dart code.
run: dart format .
format:check:packages:
description: Check formatting of Dart code in packages.
run: dart format --output none --set-exit-if-changed packages
format:check:demos:
description: Check formatting of Dart code in demos.
run: dart format --output none --set-exit-if-changed demos
analyze:packages:
description: Analyze Dart code in packages.
run: dart analyze packages --fatal-infos
analyze:demos:
description: Analyze Dart code in demos.
run: dart analyze demos --fatal-infos
test:
description: Run tests in a specific package.
run: dart test
exec:
concurrency: 1
packageFilters:
dirExists:
- test
# This tells Melos tests to ignore env variables passed to tests from `melos run test`
# as they could change the behaviour of how tests filter packages.
env:
MELOS_TEST: true