build_config 0.2.6+2 build_config: ^0.2.6+2 copied to clipboard
Support for parsing `build.yaml` configuration.
0.2.6+2 #
- Restore error for missing default target.
0.2.6+1 #
- Restore error for missing build extensions.
0.2.6 #
- The
target
andbuild_extensions
keys for builder definitions are now optional and should be omitted in most cases since they are currently unused. - Support options based on mode, add
devOptions
andreleaseOptions
onTargetBuilderConfig
. - Support applying default options based on builder definitions, add
option
,devOptions
, andreleaseOptions
toTargetBuilderConfigDefaults
. - Ensure that
defaults
andgenerateFor
fields are never null. - Add
InputSet.anything
to name the input sets that don't filter out any assets.
0.2.5 #
- Added
post_process_builders
section tobuild.yaml
. See README.md for more information.-dev - Adds support for
$default
as a dependency, i.e.:
targets:
$default:
...
foo:
dependencies:
- $default
0.2.4 #
- Add support for
runs_before
inBuilderDefinition
.
0.2.3 #
- Expose key normalization methods publicly, these include:
normalizeBuilderKeyUsage
normalizeTargetKeyUsage
0.2.2+1 #
- Expand support for
package:build
to include version0.12.0
.
0.2.2 #
- Bug fix: Empty build.yaml files no longer fail to parse.
- Allow
$default
as a target name to get he package name automatically filled in.
0.2.1 #
- Change the default for
BuilderDefinition.buildTo
toBuildTo.cache
. Builders which want to operate on the source tree will need to explicitly opt in. Allow this regardless of the value ofautoApply
and the build system will need to filter out the builders that can't run. - By default including any configuration for a Builder within a BuildTarget will enabled that builder.
0.2.0 #
- Add
build_to
option to Builder configuration. - Add
BuildConfig.fromBuildConfigDir
for cases where the package name and dependencies are already known. - Add
TargetBuilderConfig
class to configure builders applied to specific targets. - Add
TargetBuilderConfigDefaults
class for Builder authors to provide default configuration. - Add
InputSet
and changesources
andgenerate_for
to use it. - Remove
BuildTarget.isDefault
and related config parsing. The default will be determined by the target which matches the package name. - Normalize Target and Builder names so they are scoped to the package they are defined in.
Breaking #
- Remove
BuildConfigSet
class. This was unused. - Hide
Pubspec
class. ConstructBuildConfig
instances with a package path rather than an already createdPubspec
instance.
0.1.1 #
- Add
auto_apply
option to Builder configuration. - Add
required_inputs
option to Builder configuration. - Add
is_optional
option to Builder configuration.
0.1.0 #
- Initial release - pulled from
package:dazel
. Updated to supportbuild_extensions
instead ofinput_extension
andoutput_extensions
.