Skip to content

Building multiple packages is broken #14

@rburchell

Description

@rburchell

Discovered while playing around with #13.

If I do: multibuild ./cmd/one ./cmd/two

Then I get errors due to #13, but even once that is fixed, the ultimate result will be weird (at best) or a failure at worst, because we'll build a command line go build ./cmd/one ./cmd/two -o ./cmd/two (or something like that) which ... just no, you can't build two binaries at once like that.

I'm not entirely sure how go build deals with this. It looks like it might try build the packages, but not produce an output binary. That might be a sensible course of action to take.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions