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