diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-23 13:55:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-23 14:00:18 +0900 |
| commit | e5a40942982cae870f52a3d254feba70c0e46136 (patch) | |
| tree | b0f751324bd67edaa49c95f20204623264a1fa85 /internal/rosa/perl.go | |
| parent | 410c4f8bb08939c2de370da4ff6f6b13f48aaa1e (diff) | |
internal/rosa: remove unused helpers
These are no longer needed after migration.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/perl.go')
| -rw-r--r-- | internal/rosa/perl.go | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/internal/rosa/perl.go b/internal/rosa/perl.go index aa0c817b..3a9f56ac 100644 --- a/internal/rosa/perl.go +++ b/internal/rosa/perl.go @@ -1,14 +1,8 @@ package rosa -import ( - "slices" - - "hakurei.app/internal/pkg" -) - var _perl = H("perl") -// MakeMakerHelper is the [Perl] MakeMaker helper. +// MakeMakerHelper builds projects using the included MakeMaker script. type MakeMakerHelper struct { // Whether to skip the check target. SkipCheck bool @@ -49,17 +43,3 @@ make \ script += "make DESTDIR=/work install\n" return script } - -// newViaPerlMakeMaker installs a perl module via Makefile.PL. -func (t Toolchain) newViaPerlMakeMaker( - name, version string, - source pkg.Artifact, - patches []KV, - extra ...ArtifactH, -) pkg.Artifact { - return t.NewPackage("perl-"+name, version, source, &PackageAttr{ - Patches: patches, - }, (*MakeMakerHelper)(nil), slices.Concat(extra, P{ - _perl, - })...) -} |
