3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00
ergo/Makefile
Shivaram Lingamneni ee05a4324d fix #920, #921
2020-04-05 03:48:59 -04:00

37 lines
860 B
Makefile

.PHONY: all install build release capdefs test smoke
capdef_file = ./irc/caps/defs.go
all: install
install:
go install -v
build:
go build -v
release:
goreleaser --skip-publish --rm-dist
capdefs:
python3 ./gencapdefs.py > ${capdef_file}
test:
python3 ./gencapdefs.py | diff - ${capdef_file}
cd irc && go test . && go vet .
cd irc/caps && go test . && go vet .
cd irc/cloaks && go test . && go vet .
cd irc/connection_limits && go test . && go vet .
cd irc/email && go test . && go vet .
cd irc/history && go test . && go vet .
cd irc/isupport && go test . && go vet .
cd irc/modes && go test . && go vet .
cd irc/mysql && go test . && go vet .
cd irc/passwd && go test . && go vet .
cd irc/utils && go test . && go vet .
./.check-gofmt.sh
smoke:
oragono mkcerts --conf ./oragono.yaml || true
oragono run --conf ./oragono.yaml --smoke