aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-19 16:03:22 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-19 16:03:22 +0800
commit0d339db260f687bdbc0c86d775d71c3b25f20fbe (patch)
tree3effd8e5550fe132958a341d4e9e9947af5e609a
parentAdd gohtmplgen to the build process (diff)
downloadforge-0d339db260f687bdbc0c86d775d71c3b25f20fbe.tar.gz
forge-0d339db260f687bdbc0c86d775d71c3b25f20fbe.tar.zst
forge-0d339db260f687bdbc0c86d775d71c3b25f20fbe.zip
Revert "Add gohtmplgen to the build process"
This reverts commit c00fbc1189c44b6d3d8c79033a3044deaf1c4ca1.
-rw-r--r--Makefile2
-rw-r--r--resources.go2
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9e71ff8..55d5ddd 100644
--- a/Makefile
+++ b/Makefile
@@ -17,5 +17,3 @@ version.go:
clean:
$(RM) forge version.go vendor
-htmpl.go: htmpl/*
- gohtmplgen -o htmpl.go htmpl/*
diff --git a/resources.go b/resources.go
index d689e6f..c1b4a9b 100644
--- a/resources.go
+++ b/resources.go
@@ -20,7 +20,7 @@ import (
//go:embed *.go go.mod go.sum
//go:embed *.scfg
//go:embed Makefile
-//go:embed static/* htmpl/* templates/* scripts/* sql/*
+//go:embed static/* templates/* scripts/* sql/*
//go:embed hookc/*.c
//go:embed vendor/*
var sourceFS embed.FS