From e68ef2a0f2b3f6389ec098bdde7b1835a3ccd65a Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Tue, 8 Dec 2020 12:34:37 -0500 Subject: [PATCH] how did I not earlier commit the Makefile? --- poll/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 poll/Makefile diff --git a/poll/Makefile b/poll/Makefile new file mode 100644 index 0000000..caae96d --- /dev/null +++ b/poll/Makefile @@ -0,0 +1,12 @@ +GOFILES = fedilogue.go ctl.go headers.go instance.go web.go db.go config.go oauth.go + +build: + go build -o fedilogue $(GOFILES) +run: + go run $(GOFILES) +acctkey: + mkdir -p keys + openssl genrsa -out keys/acctprivate.pem 1024 + openssl rsa -in keys/acctprivate.pem -pubout -out keys/acctpublic.pem +clean: + rm -f fedilogue