Skip to content

Commit

Permalink
chore(cat-voices): add melos scripts to generate code (#884)
Browse files Browse the repository at this point in the history
* chore(cat-voices): add melos scripts to generate code

* chore(cat-voices): reformat
  • Loading branch information
dtscalac authored Sep 25, 2024
1 parent 0af0b2b commit ad226aa
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 25 additions & 8 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ packages:
- utilities/**

permittedLicenses:
- MIT
- Apache-2.0
- Unicode-DFS-2016
- BSD-3-Clause
- BSD-2-Clause
- BlueOak-1.0.0
- Apache-2.0 WITH LLVM-exception
- CC0-1.0
- MIT
- Apache-2.0
- Unicode-DFS-2016
- BSD-3-Clause
- BSD-2-Clause
- BlueOak-1.0.0
- Apache-2.0 WITH LLVM-exception
- CC0-1.0

packageLicenseOverride:
fuchsia_remote_debug_protocol: BSD-3-Clause
Expand Down Expand Up @@ -115,6 +115,23 @@ command:
mocktail: ^1.0.1

scripts:
l10n:
run: |
melos exec -c 1 --scope="catalyst_voices_localization" -- flutter gen-l10n
description: |
Run `flutter gen-l10n` in catalyst_voices_localization package to generate l10n bindings.
build_runner:
run: |
melos exec -c 1 \
--depends-on="build_runner" \
--ignore="catalyst_voices_services" -- \
dart run build_runner build --delete-conflicting-outputs
description: |
Run `build_runner` in every package which contains the build_runner dependency.
The catalyst_voices_services is skipped because to run a build_runner there you
must generate first swagger docs (see related Earthfile).
metrics:
run: |
melos exec -c 1 -- \
Expand Down

0 comments on commit ad226aa

Please sign in to comment.