Skip to content

Library target #1007

Description

@ivov

Every project requires src/main.lis and compiles to a binary, with no support for a project meant to be consumed as a library. Consider adding a lib mode (manifest field, or inferred from the absence of main.lis) that roots the module graph at all of src/, checks and emits every module, and produces an importable Go package, instead of package main and a binary.

Spun out of #1003

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions