add makefile

This commit is contained in:
celogeek 2022-05-07 19:43:42 +02:00
parent ac6537c50e
commit 9b2a795e5c
Signed by: celogeek
GPG Key ID: E6B7BDCFC446233A

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
all:
upgrade:
go get -u ./...
tidy:
go mod tidy
startdb:
[ -f data/db/postmaster.pid ] || ./start-db.sh
stopdb: data/db/postmaster.pid
./stop-db.sh