Why does the hugo
formulae not install go
?
#4970
Unanswered
asmaier
asked this question in
Everyday usage
Replies: 1 comment
-
It only needs Go to compile the binary as far as the formula defines it, so for normal usage it won't install Go. The test also passes without issues so clearly some parts work without Go. I'd happily review a pull request that extends the test to indicate a Go dependency though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I see that the
hugo
formula depends ongo
, see https://github.com/Homebrew/homebrew-core/blob/7ce587a39e9968d73feaa59b779fbe6b0da99003/Formula/h/hugo.rb#L20 . However afterthe formula for
go
does not get installed. So the commandgo
is not available andhugo server
can throw an error likeThat is why installation guides for
hugo
like https://docs.hugoblox.com/getting-started/install-hugo/ need to install thegolang
dependency manually. But why is this necessary? Why doesn'tgo
get installed automatically, if it is a dependency? Is that a bug?Beta Was this translation helpful? Give feedback.
All reactions