trying to add a software to homebrew for installing it via homebrew #4717
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
All formulae in homebrew-core need to build from source. We do not accept pre-built binaries. When you submit the formula it will run on our CI and attempt to build for Linux x86_64, and the 3 most recent versions of macOS on both arm64 and x86_64. For this specifically, you don't need to perofmr the |
Beta Was this translation helpful? Give feedback.
-
above comment also helped me to go in right direction. Thanks |
Beta Was this translation helpful? Give feedback.
It's because your main package is not in the root of the repo but rather in the
cli
directory. So instead of:use:
to point to the
cli
directory.Note that your repo seems to be missing a
go.sum
file so this may still fail. The recommended practice is that you commit thego.sum
file and we require it to be present for software in the Homebrew core repo that pulls dependencies through Go modules.