forked from GregoryConrad/mimir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
49 lines (39 loc) · 1.31 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
name: mimir
repository: https://github.com/GregoryConrad/mimir
packages:
- packages/**
command:
version:
hooks:
preCommit: bash scripts/version.sh
scripts:
build:
run: melos run build:apple && melos run build:android && melos run build:other
description: Build all native libraries for the project.
build:apple:
run: bash scripts/build-apple.sh
description: Build the XCFramework for iOS and macOS.
build:android:
run: bash scripts/build-android.sh
description: Build the .tar.gz for Android.
build:other:
run: bash scripts/build-other.sh
description: Build the .tar.gz for all other platforms.
codegen:
run: flutter_rust_bridge_codegen generate
description: Run the flutter_rust_bridge code generation.
test:
run: melos run test:dart --no-select && melos run test:flutter --no-select
description: Run all Dart & Flutter tests in this project.
test:dart:
run: melos exec -c 1 --fail-fast -- "dart test test"
description: Run Dart tests for a specific package in this project.
packageFilters:
flutter: false
dirExists: test
test:flutter:
run: melos exec -c 1 --fail-fast -- "flutter test test"
description: Run Flutter tests for a specific package in this project.
packageFilters:
flutter: true
dirExists: test