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 tools with their custom names #1984

Merged
merged 1 commit into from
Sep 21, 2018
Merged

go: install tools with their custom names #1984

merged 1 commit into from
Sep 21, 2018

Conversation

fatih
Copy link
Owner

@fatih fatih commented Sep 21, 2018

We're assuming for now to use the same binary name that also matches the
import path. But this is not always the case. To add support for an
experimental gocode, we need to install a second binary. This change
will allow us to do it by just adding a line, such as:

  \ 'gocode-gomod':  ['github.com/stamblerre/gocode'],

This PR splits go get command into specific download and install
steps.

A follow up PR to add support for gocode-gomod will follow.

We're assuming for now to use the same binary name that also matches the
import path. But this is not always the case. To add support for an
experimental `gocode`, we need to install a second binary. This change
will allow us to do it by just adding a line, such as:

      \ 'gocode-gomod':  ['github.com/stamblerre/gocode'],

This PR splits `go get` command into specific download and install
steps.

A follow up PR to add support for gocode-gomod will follow.
@bhcleek
Copy link
Collaborator

bhcleek commented Sep 21, 2018

lgtm

@fatih fatih merged commit d52e18e into master Sep 21, 2018
@fatih fatih deleted the install-by-name branch September 21, 2018 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants