aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/embed/embed.go
blob: 1f0dcdfd6a8061ae0ae16bc4538ed20e4a80a0f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>

// Package embed provides embedded filesystems created in build-time.
package embed

import "embed"

// Source contains the licenses and source tarballs collected at build time.
// It is intended to be served to the user.
//
//go:embed LICENSE* source.tar.gz
var Source embed.FS

// Resources contains the templates and static files used by the web interface,
// as well as the git backend daemon and the hookc helper.
//
//go:embed forged/templates/* forged/static/*
//go:embed hookc/hookc git2d/git2d
var Resources embed.FS