From 33bc9fcc6e86fc614b8de12abd2457bf448db3fa Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Fri, 17 Feb 2023 14:48:23 +0100 Subject: [PATCH] build(ui): optimize build runner --- packages/wyatt_ui_components/build.yaml | 9 +++++++++ packages/wyatt_ui_kit/build.yaml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 packages/wyatt_ui_components/build.yaml create mode 100644 packages/wyatt_ui_kit/build.yaml diff --git a/packages/wyatt_ui_components/build.yaml b/packages/wyatt_ui_components/build.yaml new file mode 100644 index 00000000..2c112259 --- /dev/null +++ b/packages/wyatt_ui_components/build.yaml @@ -0,0 +1,9 @@ +targets: + $default: + builders: + # Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config. + wyatt_component_copy_with_gen:component_copy_with_gen: + generate_for: + # Example glob for only the Dart files under `lib/models` + - lib/**/*.dart + - example/lib/**/*.dart \ No newline at end of file diff --git a/packages/wyatt_ui_kit/build.yaml b/packages/wyatt_ui_kit/build.yaml new file mode 100644 index 00000000..70c89a03 --- /dev/null +++ b/packages/wyatt_ui_kit/build.yaml @@ -0,0 +1,8 @@ +targets: + $default: + builders: + # Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config. + wyatt_component_copy_with_gen:component_copy_with_gen: + generate_for: + # Example glob for only the Dart files under `lib/models` + - lib/**/*.dart \ No newline at end of file