-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.early-in-cycleA change that should be done early in the 3 month dev cycle.A change that should be done early in the 3 month dev cycle.
Milestone
Description
Right now there is no easy cross platform way to output multiple artifacts from multiple packages into a single directory.
Right now you can do env GOBIN=bin/ go install cmd/...
on many platforms, but not when cross compiling or on windows.
Suggesting making go build -o bin/ pkg1 pkg2
build both packages into the "bin" folder.
@robpike thinks this would make the meaning different based on if it is a file or directory and suggests using a different flag like "-odir". That seems fine however I'm not sure how -o would interact with -odir. If they were forbidden from being set at the same time, I would say they should be the same flag, namely -o.
Reference thread: https://groups.google.com/forum/#!topic/golang-dev/a1wvIZdnic0
aggrolite, nvartolomei, vcastellm, andrei-m, ericlagergren and 14 moredavecheney
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.early-in-cycleA change that should be done early in the 3 month dev cycle.A change that should be done early in the 3 month dev cycle.