first commit
This commit is contained in:
28
build.yaml
Normal file
28
build.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user