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/>.
|
||||
|
||||
/// Extension for component copy with feature
|
||||
library component_copy_with_extension;
|
||||
library wyatt_component_copy_with_extension;
|
||||
|
||||
export './src/domain/domain.dart';
|
||||
export 'src/component_copy_with_extension.dart';
|
||||
|
@ -1,7 +1,7 @@
|
||||
targets:
|
||||
$default:
|
||||
builders:
|
||||
component_copy_with_gen:
|
||||
wyatt_component_copy_with_gen:
|
||||
enabled: true
|
||||
generate_for:
|
||||
exclude:
|
||||
@ -11,9 +11,9 @@ targets:
|
||||
- test/gen_*
|
||||
|
||||
builders:
|
||||
component_copy_with_gen:
|
||||
target: ":component_copy_with_gen"
|
||||
import: "package:wyatt_component_copy_with_gen/component_copy_with_gen.dart"
|
||||
wyatt_component_copy_with_gen:
|
||||
target: ":wyatt_component_copy_with_gen"
|
||||
import: "package:wyatt_component_copy_with_gen/wyatt_component_copy_with_gen.dart"
|
||||
builder_factories: ["componentCopyWithReporter"]
|
||||
build_extensions: { ".dart": ["copy_with_extension_gen.g.part"] }
|
||||
auto_apply: dependents
|
||||
|
@ -15,7 +15,7 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
/// Generator for copywith method for components
|
||||
library component_copy_with_gen;
|
||||
library wyatt_component_copy_with_gen;
|
||||
|
||||
export 'src/builder.dart';
|
||||
export 'src/generators/component_copy_with_generator.dart';
|
||||
|
@ -2,7 +2,7 @@ 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:
|
||||
wyatt_component_copy_with_gen:wyatt_component_copy_with_gen:
|
||||
generate_for:
|
||||
# Example glob for only the Dart files under `lib/models`
|
||||
- lib/**/*.dart
|
||||
|
@ -2,7 +2,7 @@ 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:
|
||||
wyatt_component_copy_with_gen:wyatt_component_copy_with_gen:
|
||||
generate_for:
|
||||
# Example glob for only the Dart files under `lib/models`
|
||||
- lib/**/*.dart
|
Loading…
x
Reference in New Issue
Block a user