petejkim / goop

A simple dependency manager for Go (golang), inspired by Bundler.
MIT License
779 stars 45 forks source link

Replace GOPATH rather than prepend? #8

Open alecthomas opened 10 years ago

alecthomas commented 10 years ago

What's the rationale for prepending to GOPATH rather than replacing it entirely? Replacing it would result in (more) hermetic builds.

drewolson commented 10 years ago

+1. It might be useful to have an option (that is stored in the lock file) that "excludes shared libs" by replacing the GOPATH rather than appending to it.

petejkim commented 10 years ago

It was to support local imports if you have any, but yeah I agree that an option would be great. Will add this.

mattes commented 9 years ago

My PR #35 adds a .goop/config file. It would be easy to add a flag like DisableSharedDeps.