Skip to content

[native_assets_builder] Using a linker that doesn't exist should be an error not silently accepted #1411

@mkustermann

Description

@mkustermann

If a build/hook.dart uses *Asset(, linkInPackage: "package:foo") the assets will not be there at runtime.
=> The package:foo should be foo instead
=> The error is silently ignored
=> The build should fail if a linker is used and it doesn't exist.

Currently running the program just results in no assets found. Running the build with --verbose prints an innocent

Skipping link hooks from ... due to no assets provided to link for these link hooks.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onpackage:hooks_runner

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions