aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-18 01:59:51 +0900
committerOphestra <cat@gensokyo.uk>2026-05-18 02:56:38 +0900
commit0360e779f3fb9dc770e1f33420ca5b8f8f638666 (patch)
treee9278ec16068938633b04404d1169e89b9572778 /internal/rosa/rosa.go
parent3e236333a77233cfcd96b6fc93be91e14ab7c680 (diff)
internal/rosa: initial azalea bindings
Supported fields are still rather minimal, but evaluation works, and resulting artifacts cure correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 8a1b59a3..709b8420 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -42,7 +42,7 @@ func mustDecode(s string) pkg.Checksum {
}
// KV is a key-value pair of strings.
-type KV [2]string
+type KV = [2]string
var (
// AbsUsrSrc is the conventional directory to place source code under.
@@ -601,6 +601,9 @@ func newFromGitHubRelease(
)
}
+// native contains natively-implemented and built-in azalea-based [Artifact].
+// It is generally recommended to clone this instance for custom [Artifact]
+// registrations.
var native S
// Native returns the global [S].