From 5595ded1f2a31d6bc0f924d977553c36059ce5de Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 22 Apr 2026 17:09:31 +0200 Subject: add "override" tag which in the future will allow you to have local overrides for targets --- runner/base.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runner') diff --git a/runner/base.go b/runner/base.go index 7435fd7..eb91812 100644 --- a/runner/base.go +++ b/runner/base.go @@ -22,7 +22,14 @@ func (t *BaseTarget) Matches(input string) bool { func (t *BaseTarget) ShortestId() string { return t.Reduced } + +func (b *BaseTarget) Visible() bool { + return b.Tags().Visible() +} + func (b *BaseTarget) Invocation(src *model.Source) []string { + return append([]string{src.Identity.Reduced}, append(b.Sub, b.Identity.Reduced)...) +} func Hydrated[T model.Target](in T) BaseHydration[T] { return BaseHydration[T]{ -- cgit v1.3.1