Open alecthomas opened 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.
It was to support local imports if you have any, but yeah I agree that an option would be great. Will add this.
My PR #35 adds a .goop/config
file. It would be easy to add a flag like DisableSharedDeps
.
What's the rationale for prepending to GOPATH rather than replacing it entirely? Replacing it would result in (more) hermetic builds.