2020-12-17 01:43:00 +00:00
|
|
|
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
|
2020-12-08 12:34:37 -05:00
|
|
|
|
|
|
|
build:
|
2020-12-17 01:43:00 +00:00
|
|
|
go build -o fedilogue $(FEDILOGUE_GOFILES)
|
|
|
|
go build -o fedictl $(FEDICTL_GOFILES)
|
2020-12-08 12:34:37 -05:00
|
|
|
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:
|
2020-12-17 01:43:00 +00:00
|
|
|
rm -f fedilogue fedictl
|