diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-29 01:30:12 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-29 01:30:12 +0200 |
| commit | 2b28ee919614d5ddaceda26ce488a0ca4c851cb3 (patch) | |
| tree | df9a9af3f6b37165c9522eefea8456aa1baea9d5 /runner/shell/target.go | |
| parent | 19f68366eb4a2c01f801b29585fd0a36bdf47488 (diff) | |
simplify the contracts
Diffstat (limited to 'runner/shell/target.go')
| -rw-r--r-- | runner/shell/target.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runner/shell/target.go b/runner/shell/target.go index 8422cf0..189bcb7 100644 --- a/runner/shell/target.go +++ b/runner/shell/target.go @@ -12,6 +12,10 @@ type Target struct { Script string } +func (s *Target) File(src *model.Source) string { + return s.Script +} + func (s *Target) String() string { return s.Label() } |
