diff --git a/common/spec/builder.go b/common/spec/builder.go index b21c98bb3..38291635c 100644 --- a/common/spec/builder.go +++ b/common/spec/builder.go @@ -35,6 +35,7 @@ type builder struct { transitive bool targetPathInArchive string include []string + repoOnly bool } func NewBuilder() *builder { @@ -76,6 +77,11 @@ func (b *builder) Props(props string) *builder { return b } +func (b *builder) RepoOnly(repoOnly bool) *builder { + b.repoOnly = repoOnly + return b +} + func (b *builder) TargetProps(targetProps string) *builder { b.targetProps = targetProps return b