-
Notifications
You must be signed in to change notification settings - Fork 540
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
glide rebuild does not work with vendored packages #81
Comments
@nii236 Thanks for the bug report. I'll take a look at this case. I have an idea what's causing this error. |
I installed release I run It puts the
As opposed to
This means my import statements in my code needs to look like this:
The above is the ideal path, and is preferred as that means Gocode autocompletion will work in the editor. |
@nii236 You are right that the location for the With the
In this case both foo packages exist and can be different versions. The versions here could be different from the versions in the The If retrieving the appropriate The Does Gocode autocompletion work for the |
@mattfarina Actually Running
I want them to appear in
The I participated in a discussion about it here, where the maintainer of I'd like
That way all legacy tools will still work! TLDR; Basically all |
I noticed your comment in the referenced conversation. Should this issue be reopened so that Glide plays well with Gocode, or should I wait for Go 1.6 to come out (6 months?)? |
For any who find this thread in the future trying to figure out how to get Instead of running
|
If I have a project located at:
With an existing
.yaml
file, and I runglide up
, it will fetch all the vendor packages.I then run
glide rebuild
in order to get the.a
files in the$GOPATH/pkg
folder so that I can usegocode
autocompletion.Here is what I get:
The issue here is that
glide rebuild
should run go install on theproject1/vendor
path explicitly. So instead of running:I manually run:
This, however, still does not work.
go install
will put the.a
files into the following location:Which is the wrong path!
The text was updated successfully, but these errors were encountered: