-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmelos.yaml
25 lines (19 loc) · 917 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
name: test_reporter_workspace
packages:
- apps/**
- packages/**
scripts:
allures:install: |
melos exec --scope=allure_server_cli -- dart pub global activate -s path .
generate: |
melos exec -c 1 --order-dependents --depends-on=build_runner -- dart run build_runner build -d
test: |
melos exec --dir-exists test --dir-exists allure-results -- rm -rf allure-results
melos exec --dir-exists test --dir-exists reports -- rm -rf reports
melos exec --dir-exists test --depends-on allure_report -- dart run test_reporter -- flutter test
test:sandbox: |
melos exec --dir-exists test --dir-exists allure-results -- rm -rf allure-results
melos exec --dir-exists test --dir-exists reports -- rm -rf reports
melos exec --scope sandbox -- dart run test_reporter -- flutter test
goldens:accept: |
melos exec --dir-exists test -- flutter test --tags golden --update-goldens