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>
This commit is contained in:
cat
2026-08-25 14:55:17 +09:00
parent 1c3761bb53
commit 18ba73c957
4 changed files with 65 additions and 30 deletions
+11
View File
@@ -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