Skip to content

Commit

Permalink
ci(melos): update melos script
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanaidilp committed Feb 21, 2024
1 parent 0961eaf commit d1f5c4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,17 @@ scripts:
- "*core*"
- "*i10n*"
- "*config*"
- "*widgetbook"
dependsOn:
- "build_runner"

generate-widgetbook:
run: melos exec -- "dart run build_runner build -d"
description: "Run build runner to generate widget book"
packageFilters:
dependsOn:
- "widgetbook_generator"

build:clean:select:
run: melos exec -- "dart run build_runner clean"
description: "Run build runner clean in selected package that depends on build_runner."
Expand Down Expand Up @@ -210,4 +218,5 @@ scripts:
melos run generate-assets
melos run build
melos run generate-core
melos run generate-widgetbook
description: Initialize PICO Sulteng Flutter.

0 comments on commit d1f5c4d

Please sign in to comment.