aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/builtins_embed.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-25 14:55:17 +0900
committerOphestra <cat@gensokyo.uk>2026-08-25 14:55:17 +0900
commit18ba73c9571f4dbf07a14c980c4bb86d234fa136 (patch)
tree41f9c5a0955d986bc9c3fbeda660be6cc35ec677 /internal/rosa/builtins_embed.go
parent1c3761bb53c95d75751f95e8f77d9d1e5928b968 (diff)
internal/rosa: optionally load built-ins from filesystem
This avoids having to rebuild cmd/mbf over and over. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/builtins_embed.go')
-rw-r--r--internal/rosa/builtins_embed.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/rosa/builtins_embed.go b/internal/rosa/builtins_embed.go
new file mode 100644
index 00000000..2ef42f00
--- /dev/null
+++ b/internal/rosa/builtins_embed.go
@@ -0,0 +1,11 @@
+//go:build !penv
+
+package rosa
+
+import "embed"
+
+// builtinAzalea is the backing directory of built-in azalea-based [Artifact]
+// implementations.
+//
+//go:embed package
+var builtinAzalea embed.FS