29 lines
812 B
YAML
29 lines
812 B
YAML
targets:
|
|
$default:
|
|
# Reducing sources makes the build slightly faster (some of these are required
|
|
# to exist in the default target).
|
|
sources:
|
|
- lib/**
|
|
- web/**
|
|
- "tool/**"
|
|
- pubspec.yaml
|
|
- lib/$lib$
|
|
- $package$
|
|
builders:
|
|
# injectable
|
|
injectable_generator:injectable_builder:
|
|
options:
|
|
auto_register: true
|
|
# auto registers any class with a name matches the given pattern
|
|
class_name_pattern: "Service$|Repository$"
|
|
# auto registers any class inside a file with a
|
|
# name matches the given pattern
|
|
file_name_pattern: "_service$|_repository$"
|
|
|
|
# Locale
|
|
slang_build_runner:
|
|
options:
|
|
base_locale: ru
|
|
fallback_strategy: base_locale
|
|
|