I have a repository that looks like this:
src
|
|--myplace
|--myprojectRepo
|--someCmd
| main.go
|--somePackage
| package.go
I'm trying to use Godeps to manage dependencies. However, when I run godep save
inside of the someCmd
folder, it copies not just the external code into the godep _workspace
, but also the somePackage
code into the godep _workspace
.
Is there anyway to stop godep from copying code that is in the same repository into its _workspace
?
The main ugliness that I see with this is that now there are two versions of somePackage.go
. One in the somePackage
directory and one in the godeps/_workspace...
directory. And if I make a change to somePackage
, I have to rerun godep inside of someCmd
in order to have those changes pulled in.