Skip to content

Commit 07f2912

Browse files
committed
Moved existing script from melos.yaml to pubspec.yaml
1 parent 8a6048d commit 07f2912

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

melos.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,3 @@ name: maplibre_gl_workspace
33
packages:
44
- scripts
55
- maplibre_gl*
6-
7-
scripts:
8-
generate:
9-
description: Generate layer & source properties
10-
run: dart run lib/generate.dart
11-
packageFilters:
12-
scope: maplibre_code_gen
13-
14-
test:
15-
description: Run all tests
16-
run: |
17-
set -e
18-
melos run test:io
19-
melos run test:web
20-
21-
test:io:
22-
description: Run IO tests
23-
run: flutter test
24-
packageFilters:
25-
scope: maplibre_gl_platform_interface
26-
27-
test:web:
28-
description: Run Web tests
29-
run: flutter test --platform chrome
30-
packageFilters:
31-
scope: maplibre_gl_platform_interface
32-
33-
analyze-all:
34-
description: Run static analysis on all packages
35-
exec: dart analyze --fatal-warnings --fatal-infos --concurrency 10
36-
37-
format-all:
38-
description: Format all packages
39-
exec: dart format --set-exit-if-changed .

pubspec.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,37 @@ environment:
99
dev_dependencies:
1010
melos: ^7.1.1
1111
very_good_analysis: ^8.0.0
12+
13+
scripts:
14+
generate:
15+
description: Generate layer & source properties
16+
run: dart run lib/generate.dart
17+
packageFilters:
18+
scope: maplibre_code_gen
19+
20+
test:
21+
description: Run all tests
22+
run: |
23+
set -e
24+
melos run test:io
25+
melos run test:web
26+
27+
test:io:
28+
description: Run IO tests
29+
run: flutter test
30+
packageFilters:
31+
scope: maplibre_gl_platform_interface
32+
33+
test:web:
34+
description: Run Web tests
35+
run: flutter test --platform chrome
36+
packageFilters:
37+
scope: maplibre_gl_platform_interface
38+
39+
analyze-all:
40+
description: Run static analysis on all packages
41+
exec: dart analyze --fatal-warnings --fatal-infos --concurrency 10
42+
43+
format-all:
44+
description: Format all packages
45+
exec: dart format --set-exit-if-changed .

0 commit comments

Comments
 (0)