fix(gen): rename builder correctly
This commit is contained in:
parent
32cc6e8288
commit
cef73aa62d
@ -15,7 +15,7 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
/// Extension for component copy with feature
|
/// Extension for component copy with feature
|
||||||
library component_copy_with_extension;
|
library wyatt_component_copy_with_extension;
|
||||||
|
|
||||||
export './src/domain/domain.dart';
|
export './src/domain/domain.dart';
|
||||||
export 'src/component_copy_with_extension.dart';
|
export 'src/component_copy_with_extension.dart';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
targets:
|
targets:
|
||||||
$default:
|
$default:
|
||||||
builders:
|
builders:
|
||||||
component_copy_with_gen:
|
wyatt_component_copy_with_gen:
|
||||||
enabled: true
|
enabled: true
|
||||||
generate_for:
|
generate_for:
|
||||||
exclude:
|
exclude:
|
||||||
@ -11,9 +11,9 @@ targets:
|
|||||||
- test/gen_*
|
- test/gen_*
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
component_copy_with_gen:
|
wyatt_component_copy_with_gen:
|
||||||
target: ":component_copy_with_gen"
|
target: ":wyatt_component_copy_with_gen"
|
||||||
import: "package:wyatt_component_copy_with_gen/component_copy_with_gen.dart"
|
import: "package:wyatt_component_copy_with_gen/wyatt_component_copy_with_gen.dart"
|
||||||
builder_factories: ["componentCopyWithReporter"]
|
builder_factories: ["componentCopyWithReporter"]
|
||||||
build_extensions: { ".dart": ["copy_with_extension_gen.g.part"] }
|
build_extensions: { ".dart": ["copy_with_extension_gen.g.part"] }
|
||||||
auto_apply: dependents
|
auto_apply: dependents
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
/// Generator for copywith method for components
|
/// Generator for copywith method for components
|
||||||
library component_copy_with_gen;
|
library wyatt_component_copy_with_gen;
|
||||||
|
|
||||||
export 'src/builder.dart';
|
export 'src/builder.dart';
|
||||||
export 'src/generators/component_copy_with_generator.dart';
|
export 'src/generators/component_copy_with_generator.dart';
|
||||||
|
@ -2,8 +2,8 @@ targets:
|
|||||||
$default:
|
$default:
|
||||||
builders:
|
builders:
|
||||||
# Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config.
|
# 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:
|
wyatt_component_copy_with_gen:wyatt_component_copy_with_gen:
|
||||||
generate_for:
|
generate_for:
|
||||||
# Example glob for only the Dart files under `lib/models`
|
# Example glob for only the Dart files under `lib/models`
|
||||||
- lib/**/*.dart
|
- lib/**/*.dart
|
||||||
- example/lib/**/*.dart
|
- example/lib/**/*.dart
|
||||||
|
@ -2,7 +2,7 @@ targets:
|
|||||||
$default:
|
$default:
|
||||||
builders:
|
builders:
|
||||||
# Typically the builder key is just the package name, run `pub run build_runner doctor` to check your config.
|
# 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:
|
wyatt_component_copy_with_gen:wyatt_component_copy_with_gen:
|
||||||
generate_for:
|
generate_for:
|
||||||
# Example glob for only the Dart files under `lib/models`
|
# Example glob for only the Dart files under `lib/models`
|
||||||
- lib/**/*.dart
|
- lib/**/*.dart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user