-
Notifications
You must be signed in to change notification settings - Fork 148
Symlink to a main package folder #91
Comments
As we're reusing the logic from Can you include the output of |
Sorry for delay :) gb build -v
gb build -v example
|
And the tree :
The main.go is the minimum go main file. |
Thanks for the reproduction. There are two parts to the answer. The first part is because gb reuses the package discovery code from The second part is I agree with the Go authors, symlinks inside a project structure means that one piece of code has more than one name, one import path, and can appear more than once in the final binary. Sorry, I'm not going to add support to gb to handle symlinks inside |
@davecheney fair point, as long as the But this raise a question for me, if I want to vendor a library with a command, for example go-bindata (https://github.com/jteeuwen/go-bindata), what is the best way in gb? ps - currently I use a symlink for that |
This issue is closed, could I ask you to raise a new issue for this new On Sat, 16 May 2015 23:53 fzerorubigd notifications@github.com wrote:
|
Inside the src, I have a symlink (ln -s some/path/project project) i can build this with
gb build folder
butgb build
ignore it.I don't know if this is a bug or not, but I since it's already done (with direct call
gb build folder
) so it must work ingb build
too.The text was updated successfully, but these errors were encountered: