13 lines
318 B
Makefile
13 lines
318 B
Makefile
|
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
|