Skip to content

Commit 8a6048d

Browse files
committed
Fix melos.yaml to by replacing 'exec' with 'run' for single package script execution. Added 'dart' prefix to analyze and format
1 parent 1be6783 commit 8a6048d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

melos.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,33 @@ packages:
77
scripts:
88
generate:
99
description: Generate layer & source properties
10-
exec: dart run lib/generate.dart
10+
run: dart run lib/generate.dart
1111
packageFilters:
1212
scope: maplibre_code_gen
1313

1414
test:
1515
description: Run all tests
1616
run: |
1717
set -e
18-
melos test:io
19-
melos test:web
18+
melos run test:io
19+
melos run test:web
2020
2121
test:io:
2222
description: Run IO tests
23-
exec: flutter test
23+
run: flutter test
2424
packageFilters:
2525
scope: maplibre_gl_platform_interface
2626

2727
test:web:
2828
description: Run Web tests
29-
exec: flutter test --platform chrome
29+
run: flutter test --platform chrome
3030
packageFilters:
3131
scope: maplibre_gl_platform_interface
3232

3333
analyze-all:
3434
description: Run static analysis on all packages
35-
exec: analyze --fatal-warnings --fatal-infos --concurrency 10
35+
exec: dart analyze --fatal-warnings --fatal-infos --concurrency 10
3636

3737
format-all:
3838
description: Format all packages
39-
exec: format --set-exit-if-changed .
39+
exec: dart format --set-exit-if-changed .

0 commit comments

Comments
 (0)