-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[native_assets_cli] BuildOutput
dependencies per asset and asset type
#1368
Conversation
PR HealthBreaking changes ✔️Details
Changelog Entry ✔️Details
Changes to files need to be accounted for in their respective changelogs. License Headers ✔️Details
All source files should start with a license header. Unrelated files missing license headers
Package publish validation ✔️Details
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
@@ -12,7 +12,7 @@ void main(List<String> args) async { | |||
final assetDirectory = | |||
Directory.fromUri(config.packageRoot.resolve('assets/')); | |||
// If assets are added, rerun hook. | |||
output.addDependency(assetDirectory.uri); | |||
output.addAssetTypeDependency(DataAsset.type, assetDirectory.uri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not understand what output.addAssetTypeDependency
based on its name.
As discussed in #1207 (comment), we don't want assets per dependency. |
Bug: