// Package sunrise embeds the SummerCMS bootstrap script, new.sh, so the // script is versioned with the framework release that ships it. // // The script is what `curl -fsSL https://summercms.io/new | bash -s -- ` // runs: it checks for Go 1.27 or newer, git and Docker, clones the framework // at its newest release tag (or moves an existing release checkout forward), // installs the summer CLI and runs `summer new ` next to the checkout. // A web server hands out Script() as text/plain. package sunrise import ( "bytes" _ "embed" ) //go:embed new.sh var script []byte // Script returns the bootstrap script. Each call returns a fresh copy, so a // caller may modify the slice without affecting later calls. func Script() []byte { return bytes.Clone(script) }