Add html generation/view targets

This commit is contained in:
Michael Hohn
2024-08-13 00:00:56 -07:00
committed by =Michael Hohn
parent 742b059a49
commit 35100f89a7

View File

@@ -1,5 +1,15 @@
all: server agent all: server agent
.phony: view
view: README.html
open $<
html: README.html
%.html: %.md
pandoc --toc=true --standalone $< --out $@
server: server:
cd cmd/server && GOOS=linux GOARCH=arm64 go build cd cmd/server && GOOS=linux GOARCH=arm64 go build