Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: toaster_workspace
|
||||
|
||||
environment:
|
||||
sdk: ">=3.11.4 <4.0.0"
|
||||
|
||||
dev_dependencies:
|
||||
melos: ^7.5.1
|
||||
|
||||
workspace:
|
||||
- apps
|
||||
- packages/toaster_ui
|
||||
- plugins/toaster_utils/*
|
||||
|
||||
melos:
|
||||
scripts:
|
||||
get:
|
||||
run: melos exec -c 1 -- flutter pub get
|
||||
description: Run flutter pub get in all packages
|
||||
|
||||
generate:
|
||||
run: melos exec -c 1 --depends-on build_runner -- dart run build_runner build
|
||||
description: Run build_runner in all packages with build_runner dependency
|
||||
|
||||
pigeon:
|
||||
run: melos exec -c 1 --depends-on pigeon -- dart run pigeon --input pigeons/messages.dart
|
||||
description: Run pigeon code generation in all packages with pigeon dependency
|
||||
|
||||
test:
|
||||
run: melos exec -c 1 --dir-exists=test -- flutter test
|
||||
description: Run tests in all packages
|
||||
Reference in New Issue
Block a user