forked from rosa/hakurei
internal/rosa: use type P in helper interface
This is easier to type and serialises correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -84,8 +84,8 @@ func (*MakeHelper) name(name, version string) string {
|
||||
}
|
||||
|
||||
// extra returns make and other optional dependencies.
|
||||
func (attr *MakeHelper) extra(flag int) []PArtifact {
|
||||
extra := []PArtifact{Make}
|
||||
func (attr *MakeHelper) extra(flag int) P {
|
||||
extra := P{Make}
|
||||
if (attr == nil || !attr.OmitDefaults) && flag&TEarly == 0 {
|
||||
extra = append(extra,
|
||||
Gawk,
|
||||
|
||||
Reference in New Issue
Block a user