Releases: dart-lang/build
Releases · dart-lang/build
0.1.1
This release enables non-incremental builds, outside of the pub build/serve infrastructure.
- Exposed the top level
build
function. This can be used to run builds.- For this release all builds are non-incremental, and delete all previous
build outputs when they start up. - Creates a
.build
directory which should be added to your.gitignore
.
- For this release all builds are non-incremental, and delete all previous
- Added
resolve
method toBuildStep
which can give you aResolver
for an
AssetId
.- This is experimental and may get moved out to a separate package.
- Resolves the full dart sdk so this is slow, first call will take multiple
seconds. Subsequent calls are much faster though. - Will end up marking all transitive deps as dependencies, so your files may
end up being recompiled often when not entirely necessary (once we have
incremental builds).
- Added
listAssetIds
toAssetReader
(only matters if you implement it). - Added
delete
toAssetWriter
(also only matters if you implement it).