-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
55 lines (43 loc) · 1.13 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
name: couchbase_dart
repository: https://github.com/blaugold/couchbase-dart
packages:
- tool
- packages/couchbase
- packages/couchbase/example
ide:
intellij: false
command:
version:
hooks:
preCommit: melos run tool -- generate-version && git add packages/couchbase/lib/src
scripts:
format:
run: dart format .
description: Format the Dart codebase.
format:check:
run: dart format --set-exit-if-changed .
description: Check if the Dart codebase is formatted.
analyze:
run: dart analyze --fatal-infos
description: Analyze the Dart codebase.
test:
exec: dart test
packageFilters:
dirExists: test
description: Run Dart tests.
build:OpenSSL:
run: cd native && dart build_openssl.dart
build:libCouchbaseDart:
run: cd native && dart build.dart
build:bindings:
run: |
cd tool && \
dart run tool:generate_bindings && \
cd ../packages/couchbase && \
./tool/ffigen.sh
initCouchbaseServer:
run: ./init-couchbase-server.sh
tool:
run: cd tool && dart run tool:tool
waitForPublishing:
run: melos run tool -- wait-for-publishing