constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 148 forks source link

using gb to make a library #735

Closed rbucker closed 6 years ago

rbucker commented 6 years ago

is gb only meant for creating an executable? What about creating libraries? I cannot seem to create a library using the project folder that can be imported in another project. Even the examples do not force the source in that way. (I'm getting failed to import errors)

davecheney commented 6 years ago

Sorry, gb is for projects only at this point; code that produces executables.

On 2 April 2018 at 09:27, richard bucker notifications@github.com wrote:

is gb only meant for creating an executable? What about creating libraries? I cannot seem to create a library using the project folder that can be imported in another project. Even the examples do not force the source in that way. (I'm getting failed to import errors)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/735, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA5I0LWVyKirohM7MfJzb-I1yt_hWks5tkWJugaJpZM4TDAqS .

rbucker commented 6 years ago

After spending hours on this I cannot say I read that in the doc. Thank I'll close.