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
Every project requires
src/main.lisand 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 ofmain.lis) that roots the module graph at all ofsrc/, checks and emits every module, and produces an importable Go package, instead of package main and a binary.Spun out of #1003