-
Notifications
You must be signed in to change notification settings - Fork 148
Binary dependency #100
Comments
I'm sorry, I don't understand what you are asking for. I think I understand the background, but not what gb does not do today. |
Sorry :) |
Thanks. I think I understand now. Because gb does not build code that is not referenced by source inside This is an interesting use case. I don't have an answer for you right now, but as you're probably using something like a Makefile or grunt to automate this, one workaround for the moment would be to
Which will leave This should be pretty easy to manage with a Makefile. |
@davecheney I was looking for this as well. For comparison, in node.js, all (explicitly declared) binaries are installed into The same can be accomplished with other For GB, I think adding a |
You can already do this
Please let me know if I have misunderstood your question |
I have the same issue. Some vendored packages that I explicitly included in my project have binaries that helps with the tooling and build of my application. For example, Would be really cool to either have The problem with |
@divoxx I believe you have that today
will do the same as
This sounds like a bug. |
@davecheney sorry to disagree but I don't think that's a good solution :) Let me expand: If I vendor a package github.com/x/y/z it will fetch the repo github.com/x/y and the dependencies of github.com/x/y/z but a It will fail if a package, say github.com/x/y/w, have dependencies that haven't been vendored. Even if it compiles it will probably build binaries that I don't even care about, from deps of deps. Not to mention that it would create a separate copy of pkgs under the vendor folder. |
@divoxx you can work around this by You can also do
I'm sorry I don't have a better answer for you at the moment. |
@davecheney Sorry to bring this up again. |
Could you please log a new issue with details and I'll investigate. On Thu, 31 Dec 2015, 18:28 fzerorubigd notifications@github.com wrote:
|
I'm not sure I understand. Did I break something with #511 ? If so, please log a bug with what you see and what you expect so I can investigate. Thanks.
|
Please see #528 for detail. |
I want to use something like go-bindata (https://github.com/jteeuwen/go-bindata) (my code is not open source but the concept is similar, a simple code (and sample data in my case) generator with a library to use that generated stuff)
there is a tool and a library, (a code generator) , both are depend to each other.
Binary must be in my project bin folder (or vendor/bin not a big deal) and the library is in my venor directory.
Currently I use symlink, to link the main package inside the src folder (and Symlinks are already rejected as solution in #91 ) what is the best way to handle this case? (copy is not an option since the library is not maintain by my team)
The text was updated successfully, but these errors were encountered: