//go:build current

package rosa

import (
	_ "embed"

	"hakurei.app/internal/pkg"
)

const hakureiVersion = "1.0-current"

// hakureiSourceTarball is a compressed tarball of the hakurei source code.
//
//go:generate tar -zc -C ../.. --exclude .git --exclude *.tar.gz -f hakurei_current.tar.gz .
//go:embed hakurei_current.tar.gz
var hakureiSourceTarball []byte

// hakureiSource is the source code at the time this package is compiled.
var hakureiSource = pkg.NewTar(pkg.NewFile(
	"hakurei-current.tar.gz",
	hakureiSourceTarball,
), pkg.TarGzip)

// hakureiPatches are patches applied against the compile-time source tree.
var hakureiPatches []KV
