diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-10 10:04:30 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-10 10:06:13 +0800 |
commit | 390faa0cf752c363d1ac82e9fb7ca58ef8df3c2e (patch) | |
tree | 5185987edd828fd3644016bdc7a5260aa2ff891e /forged | |
parent | Bump dependencies (diff) | |
download | forge-390faa0cf752c363d1ac82e9fb7ca58ef8df3c2e.tar.gz forge-390faa0cf752c363d1ac82e9fb7ca58ef8df3c2e.tar.zst forge-390faa0cf752c363d1ac82e9fb7ca58ef8df3c2e.zip |
Makefile: Remove source tarball generation
Diffstat (limited to 'forged')
-rw-r--r-- | forged/internal/embed/.gitignore | 1 | ||||
-rw-r--r-- | forged/internal/embed/embed.go | 4 | ||||
-rw-r--r-- | forged/templates/_footer.tmpl | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/forged/internal/embed/.gitignore b/forged/internal/embed/.gitignore index e8708b1..36bd410 100644 --- a/forged/internal/embed/.gitignore +++ b/forged/internal/embed/.gitignore @@ -1,4 +1,3 @@ -/source.tar.gz /hookc/hookc /git2d/git2d /static diff --git a/forged/internal/embed/embed.go b/forged/internal/embed/embed.go index 1f0dcdf..f731538 100644 --- a/forged/internal/embed/embed.go +++ b/forged/internal/embed/embed.go @@ -6,10 +6,10 @@ package embed import "embed" -// Source contains the licenses and source tarballs collected at build time. +// Source contains the licenses collected at build time. // It is intended to be served to the user. // -//go:embed LICENSE* source.tar.gz +//go:embed LICENSE* var Source embed.FS // Resources contains the templates and static files used by the web interface, diff --git a/forged/templates/_footer.tmpl b/forged/templates/_footer.tmpl index f71ea3e..22a3958 100644 --- a/forged/templates/_footer.tmpl +++ b/forged/templates/_footer.tmpl @@ -5,8 +5,7 @@ {{- define "footer" -}} <a href="https://lindenii.runxiyu.org/forge/">Lindenii Forge</a> {{ .global.forge_version }} -(<a href="/-/source/source.tar.gz">source</a>, -<a href="https://forge.lindenii.runxiyu.org/forge/-/repos/server/">upstream</a>, +(<a href="https://forge.lindenii.runxiyu.org/forge/-/repos/server/">upstream</a>, <a href="/-/source/LICENSE">license</a>, <a href="https://webirc.runxiyu.org/kiwiirc/#lindenii">support</a>) {{- end -}} |