forked from cbl-dart/cbl-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
65 lines (56 loc) · 1.91 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
63
64
65
name: cbl_dart
repository: https://github.com/cbl-dart/cbl-dart
packages:
- .
- packages/**
ide:
intellij: false
command:
bootstrap:
usePubspecOverrides: true
runPubGetInParallel: false
version:
linkToCommits: true
scripts:
build:cbl_flutter_prebuilt:
description: Builds the prebuild packages `cbl_flutter_ce|ee`.
run: cd packages/cbl_flutter_prebuilt && dart run
build:nativeLibraries:
description: Builds the native libraries for the host target.
run: ./tools/dev-tools.sh prepareNativeLibraries
formatting:apply:
description: Formats all Dart files.
run: daco format .
formatting:check:
description: Formats all Dart files. Fails when files were changed.
run: daco format --set-exit-if-changed .
analyze:
description: Analyzes all Dart files.
run: melos exec -- dart analyze --fatal-infos
test:setupCouchbaseClusterDocker:
description: Sets up Couchbase services for testing in docker.
run: melos exec -- "./couchbase-services.sh setupDocker"
select-package:
scope: cbl_e2e_tests
test:teardownCouchbaseClusterDocker:
description: Tears down Couchbase services for testing in docker.
run: melos exec -- "./couchbase-services.sh teardownDocker"
select-package:
scope: cbl_e2e_tests
test:startSyncGatewayMacOS:
description: Starts Sync Gateway for testing on macOS.
run: melos exec -- "./couchbase-services.sh startSyncGatewayMacOS"
select-package:
scope: cbl_e2e_tests
test:waitForSyncGateway:
description: Waits Sync Gateway for testing to become available.
run: melos exec -- "./couchbase-services.sh waitForSyncGateway"
select-package:
scope: cbl_e2e_tests
version:
description:
Pre-commit hook for the version command to update the `cbl_flutter_ce|ee`
packages.
run:
melos build:cbl_flutter_prebuilt && git add packages/cbl_flutter_ee
packages/cbl_flutter_ce