diff options
Diffstat (limited to 'internal/bible/embed_optional.go')
| -rw-r--r-- | internal/bible/embed_optional.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/bible/embed_optional.go b/internal/bible/embed_optional.go new file mode 100644 index 0000000..abe7b35 --- /dev/null +++ b/internal/bible/embed_optional.go @@ -0,0 +1,15 @@ +//go:build fullbible + +package bible + +import "embed" + +// Build with `-tags fullbible` to compile the optional corpora (wuj, drb, grb) +// into the binary alongside the always-embedded Vulgate. These translations are +// third-party scripture text and are NOT covered by lectio's AGPL licence; ship +// a fullbible binary only where redistributing those corpora is permitted. +// +//go:embed corpora_optional +var optionalEmbed embed.FS + +func init() { optionalFS = optionalEmbed } |
