needed for building deb packages

This commit is contained in:
Jeff Carr 2025-02-14 20:43:31 -06:00
parent e5a5454bc0
commit 312c4742b6
1 changed files with 8 additions and 0 deletions

View File

@ -8,3 +8,11 @@ func (r *Repo) IsBinary() bool {
// todo: detect C & other language binary packages
return false
}
// does this repo build a binary?
func (r *Repo) IsGoPlugin() bool {
if r.GoInfo != nil {
return r.GoInfo.GetGoPlugin()
}
return false
}