Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go install should allow renaming the binary #47176

Closed
guigui64 opened this issue Jul 13, 2021 · 1 comment
Closed

go install should allow renaming the binary #47176

guigui64 opened this issue Jul 13, 2021 · 1 comment

Comments

@guigui64
Copy link

My go module name ends with .git because it is a private module and (I think) go needs its name to end by .git to understand that it should look for it via git (alongside with the GOPRIVATE env variable).

However, I don't want users getting it with go install private/group/name.git to have the binary named name.git but rather only name.

I don't think there is a solution to my problem yet. Could a - o flag be added to go install working like with go build?

@seankhliao
Copy link
Member

Duplicate of #44469

@seankhliao seankhliao marked this as a duplicate of #44469 Jul 13, 2021
@golang golang locked and limited conversation to collaborators Jul 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants