On Wed, 2018-08-08 at 21:57 +0000, Jakob Borg wrote:
> What’s happening here is that you are pulling in more dependencies
> than you expect.
> 
> $ rm -rf ~/go $ go get -u
> mvdan.cc/sh/cmd/shfmt<http://mvdan.cc/sh/cmd/shfmt>
> 
> In those commands, you downloaded the repo
> mvdan.cc/sh<http://mvdan.cc/sh> and build cmd/shfmt that is part of
> it, while also downloading the dependencies for that.
> 
> $ go get -v -u ./...
> 
> Here you are updating and building all packages on disk, with their
> dependencies. This is more than you originally asked for, because
> your repo has more packages and commands that you didn’t compile the
> first time. They might have dependencies that need to be pulled in.

Thanks for the explanation!  Is there a way for me to update the
locally installed packages (shfmt and its dependencies in this
example) without installing additional dependencies which weren't
initially installed?

Thanks again for your explanation,
Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to