diff options
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 891f6077..9af01275 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -7,7 +7,7 @@ import ( "hakurei.app/internal/pkg" ) -func (t Toolchain) newMake() pkg.Artifact { +func (t Toolchain) newMake() (pkg.Artifact, string) { const ( version = "4.4.1" checksum = "YS_B07ZcAy9PbaK5_vKGj64SrxO2VMpnMKfc9I0Q9IC1rn0RwOH7802pJoj2Mq4a" @@ -24,9 +24,17 @@ cd "$(mktemp -d)" nil, "https://ftpmirror.gnu.org/gnu/make/make-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, - ))) + ))), version +} +func init() { + artifactsM[Make] = Metadata{ + f: Toolchain.newMake, + + Name: "make", + Description: "a tool which controls the generation of executables and other non-source files", + Website: "https://www.gnu.org/software/make/", + } } -func init() { artifactsF[Make] = Toolchain.newMake } // MakeHelper is the [Make] build system helper. type MakeHelper struct { |
