-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
34 lines (27 loc) · 841 Bytes
/
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
name: insta
repository: https://github.com/gopi2401/insta
# Define the packages to include in the workspace
packages:
- .
# Command configuration section
command:
bootstrap:
usePubspecOverrides: true
# Scripts section for common commands
scripts:
build:
description: "Run build_runner to generate code"
run: |
melos exec -- flutter pub run build_runner build --delete-conflicting-outputs
# You don’t need select-package with depends-on here. Build runner should be run in relevant packages automatically.
analyze:
exec: flutter analyze --no-fatal-infos
format:
run: dart format -o write .
description: Run Dart formatter.
# test:
# run: dart run melos exec -- "dart test"
# description: Run Dart tests.
# select-package:
# dir-exists: "test"
# depends-on: "test"