From 6546ddc64bcbf73c7419bac7af596b924005dbc3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 21 May 2026 16:10:55 +0900 Subject: internal/rosa: expose in-place behaviour in generic helper This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path. Signed-off-by: Ophestra --- internal/rosa/perl.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'internal/rosa/perl.go') diff --git a/internal/rosa/perl.go b/internal/rosa/perl.go index c17ce109..aa0c817b 100644 --- a/internal/rosa/perl.go +++ b/internal/rosa/perl.go @@ -26,11 +26,8 @@ func (*MakeMakerHelper) wantsWrite() bool { return true } // scriptEarly is a noop. func (*MakeMakerHelper) scriptEarly() string { return "" } -// createDir returns false. -func (*MakeMakerHelper) createDir() bool { return false } - -// wantsDir returns the zero value. -func (*MakeMakerHelper) wantsDir() string { return "" } +// wantsDir requests the source directory. +func (*MakeMakerHelper) wantsDir() (string, bool) { return "", false } // script generates Makefile.PL-based build and test commands. func (attr *MakeMakerHelper) script(t Toolchain, _ string) string { -- cgit v1.3.1