Skip to content

[native_assets_cli] Should the API be not a main function? #152

@dcharkes

Description

@dcharkes

Should we consider using implementing an interface instead of having a main function for build.dart?

This would be in the style of the Builders of package:build.

Pros:

  • Visibility of conceptually different invocations of main:
    • dry-run vs build
    • before kernel compilation and after (edit: or build vs tree-shake)

Cons:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions