didn't commit template

This commit is contained in:
2023-03-28 09:41:27 +02:00
parent 818a18508f
commit fb536c2bcb
2 changed files with 101 additions and 2 deletions

View File

@@ -81,9 +81,9 @@ show-versions: buildlocal
goupdate:
go get -t -u=patch ./...
cmd/%.go: templates/%.tpl
cmd/%.go: templates/%.html
echo "package cmd" > cmd/$*.go
echo >> cmd/$*.go
echo "const formtemplate = \`" >> cmd/$*.go
cat templates/$*.tpl >> cmd/$*.go
cat templates/$*.html >> cmd/$*.go
echo "\`" >> cmd/$*.go