-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
melos.yaml
43 lines (35 loc) · 1.12 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
name: changelog
ide:
intellij: true
packages:
- packages/**
command:
version:
updateGitTagRefs: true
scripts:
build_cmd:
run: melos exec -c 1 -- "dart compile exe bin/changelog_cmd.dart -o build/changelog-cli-$OS"
description: Build the cmd tools.
select-package:
ignore: "*changelog_lib*"
analyze:
run: melos exec -c 1 -- "dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
format:
run: melos exec -c 1 -- "dart format -o write ."
test:
description: Run tests in a specific package.
# TODO(Salakar) 'dart pub get' is necessary for the 'melos' package as we're using it on itself
run: melos exec --concurrency=1 -- "dart pub get && dart pub run test"
select-package:
dir-exists:
- "test/"
# This tells Melos tests to ignore env variables passed to tests from `melos run test`
# as they could change the behaviour of how tests filter packages.
env:
MELOS_TEST: true
gen:
run: melos exec --concurrency=1 -- "dart run build_runner build"
select-package:
ignore:
- "*changelog_lib*"