Add Makefile, add hosting blurb
j3s j3s@c3f.net
Wed, 10 Jun 2020 01:28:27 -0500
2 files changed,
21 insertions(+),
0 deletions(-)
A
Makefile
@@ -0,0 +1,20 @@
+PREFIX := /usr/local +BINDIR := $(PREFIX)/bin +SRCS := main.go + +VERSION := 0.1.0 + +.PHONY: all +all: nshc-form + +nshc-form: $(SRCS) + CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=$(VERSION)" -o $@ + +.PHONY: install +install: nshc-form + mkdir -p $(BINDIR) + install -m 0755 $< $(BINDIR) + +.PHONY: clean +clean: + rm nshc-form
M
templates/form.html
→
templates/form.html
@@ -466,6 +466,7 @@ </div>
</form> <footer> + <p>hosted with love for North Star Health Collective by Cyberia Computer Club</p> <p>warrant canary: 🐦</p> </footer>