fedilogue/Makefile
Farhan Khan 5bc9a68d53 web feature fetching user icon
adding database pool to all functions to verify before fetching
2020-12-17 18:26:55 +00:00

15 lines
454 B
Makefile

FEDILOGUE_GOFILES = fedilogue.go ctl.go headers.go instance.go poll.go stream.go web.go db.go config.go oauth.go
FEDICTL_GOFILES = fedictl.go headers.go
build:
go build -o fedilogue $(FEDILOGUE_GOFILES)
go build -o fedictl $(FEDICTL_GOFILES)
run:
go run $(FEDILOGUE_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 fedictl