Farhan Khan
e9178b1d09
middle layer commit database middle layer might be redundant screwed up tables.sql isn't re-useing connections
15 lines
466 B
Makefile
15 lines
466 B
Makefile
FEDILOGUE_GOFILES = fedilogue.go ctl.go headers.go instance.go poll.go stream.go web.go db.go config.go oauth.go retrieve.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
|