forked from nextcloud/neon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
32 lines (26 loc) · 1.01 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
name: neon
repository: https://github.com/nextcloud/neon
sdkPath: .fvm/flutter_sdk
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false
packages:
- packages/*
- packages/dynamite/*
- packages/neon/*
ide:
intellij:
enabled: false
command:
bootstrap:
hooks:
post: melos run format
scripts:
format: dart format --fix --line-length 120 .
format:check: dart format --output=none --set-exit-if-changed --line-length 120 .
analyze: dart analyze --fatal-infos .
test: melos exec --concurrency=1 --fail-fast --dir-exists=test -- "flutter test --concurrency=$(nproc --all)"
generate:neon:build_runner: melos exec --scope="neon*" --file-exists="build.yaml" -- dart run build_runner build --delete-conflicting-outputs && melos run format
generate:neon:l10n: melos exec --flutter --dir-exists="lib/l10n" flutter gen-l10n && melos run format