You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It most likely means that run method implementing the interface should immediately shell out to another method that takes the interfaces/extension types that only show a subset of the getters on BuildConfig, and the more specific methods on BuildOutput.
Reasoning for not having a shared run is that caching behavior is different for build hooks and link hooks. Build hooks are rerun much less often than link hooks. So downloading assets and building code should always be done in the build hook, even if the dylib might not be included in the end. (If you only download or build in the link hook, you might save a build or download on the first run, but it will have to be rerun very often.)
…1174)
This PR adds an opinionated `Builder` and `Linker` interface with documentation on what builders and linkers should be used for.
Closes: #995
(Also, flips all versions back to WIP, now that the link hooks have landed in both Dart and Flutter.)
Uh oh!
There was an error while loading. Please reload this page.
package:native_assets_cli
defines:In a sketch for an asset downloader we also have
We should probably standardize the
Builder
interface somewhere so that they are composable.This interacts slightly with hiding fields from the BuildConfig that aren't used:
It most likely means that
run
method implementing the interface should immediately shell out to another method that takes the interfaces/extension types that only show a subset of the getters on BuildConfig, and the more specific methods on BuildOutput.Related issues:
BuildOutput
behaves like a sink, should it behave like a bag? #1167The text was updated successfully, but these errors were encountered: