-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
melos.yaml
29 lines (22 loc) · 1 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
name: polkadart
repository: https://github.com/leonardocustodio/polkadart
command:
bootstrap:
usePubspecOverrides: true
packages:
- packages/**
- examples
scripts:
fetch_dependencies:
description: Run dart pub get in a specific package to pre-fetch all the packages.
run: melos exec --scope="${SCOPE:-*}" -c 1 -- "dart pub get"
select-package:
flutter: false
test:
run: dart run melos exec --scope="${SCOPE:-*}" -c 1 --fail-fast -- 'dart test --no-chain-stack-traces --ignore-timeouts --coverage="coverage" --concurrency=1'
coverage:
run: dart run melos exec --scope="${SCOPE:-*}" -c 1 --fail-fast -- 'dart run coverage:format_coverage --lcov --in=coverage --out=coverage/coverage.lcov --packages=.dart_tool/package_config.json --report-on=lib'
format:
run: dart run melos exec --scope="${SCOPE:-*}" -c 1 --fail-fast -- 'dart format . --set-exit-if-changed'
analyze:
run: dart run melos exec --scope="${SCOPE:-*}" -c 1 --fail-fast -- 'dart analyze --fatal-infos .'