Skip to content

[native_asserts_cli] ☂ Make native_toolchain_c more usable standalone #2004

@dcharkes

Description

@dcharkes

It would be good to try to split package:native_toolchain_c a more from package:native_assets_cli.

Make a programmatic API that enables using native_toolchain_c more standalone, and a wrapper function that reads HookInput and produces a HookOutput.

Use cases:

I'm not entirely sure where the split should be. Maybe we should have a Future<CBuilderOutput> run2(CBuilderInput input). That would allow the constructors (which contains all configuration which is not in the hook input) to stay the same whether you use CBuilder from a hook, from a hook but not with default behavior, or from a tool script. (The names should probably be better than run and run2. 🤓)

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)good first issueA good starting issue for contributors (issues with this label will appear in /contribute)package:hooks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions