Skip to content

[native_assets_builder] Rename build.dart to hook/build.dart #823

Closed
@dcharkes

Description

@dcharkes

We have settled on hook/build.dart as the place for the build.dart "script"/"hook".

If we fall back to build.dart for the time being, we have less rolling issues.

The example that's run against the Dart SDK will break for the time being though.

  • Update native_assets_builder to look for hook/build.dart instead of build.dart. For now: fall-back to build.dart if hook/build.dart does not exist, to not immediately break everyone.
  • Update tests.
  • Update "script" terminology to "hook".
  • Roll into Dart.
  • Update examples (requires Dart roll).
  • Roll into Flutter. (currently blocked by [native_assets_cli] DynamicLoadingBundled and dryRun in Flutter #1049)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurespackage:hooks_runner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions