Skip to content

[native_assets] flutter clean should delete all native assets #151890

@dcharkes

Description

@dcharkes

Sometimes the native assets can be in a weird state (for example if a user had misreported dependencies in their hook), and it would be nice if the native assets can just be all deleted to start from scratch. The cleanest solution would be to this as part of flutter clean.

It's probably cleanest to provide an API in package:native_assets_builder that can be called for this purpose. (The implementation of that API would most likely simply delete .dart_tool/native_assets_builder/ recursively.)

Somewhat related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions