2021-08-20 09:33:53 -07:00
|
|
|
builders:
|
|
|
|
versions:
|
|
|
|
import: 'tool/write_versions.dart'
|
|
|
|
build_to: cache
|
|
|
|
builder_factories: ["writeVersions"]
|
|
|
|
build_extensions: {"$package$": ["lib/versions.json"]}
|
2022-02-14 13:13:00 -08:00
|
|
|
code_snippets:
|
|
|
|
import: 'tool/snippets.dart'
|
|
|
|
build_to: cache
|
|
|
|
builder_factories: ["SnippetsBuilder.new"]
|
|
|
|
build_extensions: {"": [".excerpt.json"]}
|
|
|
|
auto_apply: none
|
2021-08-20 09:33:53 -07:00
|
|
|
|
2021-03-12 12:14:45 -08:00
|
|
|
targets:
|
2021-08-20 09:33:53 -07:00
|
|
|
prepare:
|
|
|
|
builders:
|
2022-05-13 02:57:03 -07:00
|
|
|
":versions":
|
2021-08-20 09:33:53 -07:00
|
|
|
enabled: true
|
2022-05-13 02:57:03 -07:00
|
|
|
":code_snippets":
|
2022-02-13 07:55:57 -08:00
|
|
|
enabled: true
|
|
|
|
generate_for:
|
|
|
|
- "lib/snippets/**/*.dart"
|
2022-02-14 13:13:00 -08:00
|
|
|
- "lib/snippets/*/*.drift"
|
2022-02-13 07:55:57 -08:00
|
|
|
- "lib/snippets/*.dart"
|
2021-08-20 09:33:53 -07:00
|
|
|
auto_apply_builders: false
|
|
|
|
sources:
|
|
|
|
- "$package$"
|
|
|
|
- "lib/versions.json"
|
2022-02-13 07:55:57 -08:00
|
|
|
- "lib/snippets/**"
|
2021-08-20 09:33:53 -07:00
|
|
|
- "tool/write_versions.dart"
|
2022-02-14 13:13:00 -08:00
|
|
|
- "tool/snippets.dart"
|
2021-08-20 09:33:53 -07:00
|
|
|
|
2021-03-12 12:14:45 -08:00
|
|
|
$default:
|
2021-08-20 09:33:53 -07:00
|
|
|
dependencies: [":prepare"]
|
2021-03-12 12:14:45 -08:00
|
|
|
builders:
|
2021-03-12 14:16:48 -08:00
|
|
|
built_site:
|
|
|
|
release_options:
|
|
|
|
environment: "preview"
|
2022-05-13 02:57:03 -07:00
|
|
|
build_web_compilers:entrypoint:
|
2021-03-12 12:14:45 -08:00
|
|
|
release_options:
|
|
|
|
# Turn of null assertions for release builds, it looks like this
|
|
|
|
# makes generated code slightly smaller.
|
|
|
|
native_null_assertions: false
|
|
|
|
dart2js_args:
|
|
|
|
- "-O4"
|
|
|
|
- "--csp"
|
2021-10-09 12:43:30 -07:00
|
|
|
moor_generator:
|
|
|
|
enabled: false
|
2021-03-12 12:14:45 -08:00
|
|
|
sources:
|
|
|
|
- "lib/**"
|
|
|
|
- "pages/**"
|
|
|
|
- "templates/**"
|
|
|
|
- "web/**"
|
|
|
|
- "$package$"
|
|
|
|
- "pubspec.yaml"
|
2021-07-08 03:28:52 -07:00
|
|
|
- "theme.yaml"
|
2021-03-12 12:14:45 -08:00
|
|
|
- "website.yaml"
|