azurecopy-go
azurecopy-go copied to clipboard
build and vendor package management
How do you build this code? And how do you resolve the vendor packages?
I took all the code, and playing around to use glide for package management, but that did not got me very far. I was wondering you you create your releases
thanks,
Hi
Previously I've simply downloaded the various packages "go get ......." then I just run gox to create all the various binaries I want. I haven't looked into a way of downloading all my dependencies in a single command (that is something I want to do, but no real urgency yet).
Cheers
Ken
Have a look at glide
hm, I'm somehow not able to build this package on Linux.
go get github.com/kpfaulkner/azurecopy-go/azurecopy
does not download dependencies.
# go get github.com/kpfaulkner/azurecopy-go/azurecopy
package azurecopy/azurecopy/handlers: unrecognized import path "azurecopy/azurecopy/handlers" (import path does not begin with hostname)
package azurecopy/azurecopy/models: unrecognized import path "azurecopy/azurecopy/models" (import path does not begin with hostname)
package azurecopy/azurecopy/utils: unrecognized import path "azurecopy/azurecopy/utils" (import path does not begin with hostname)
package azurecopy/azurecopy/utils/misc: unrecognized import path "azurecopy/azurecopy/utils/misc" (import path does not begin with hostname)
So using dep init
I was able to download dependencies however it still does not properly resolve those local imports.
Hi
I haven't setup up dependencies automatically yet. You'll need to "go get" the list of packages manually for now. I'll eventually get to it... but just not there yet.
Cheers
Ken