3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-23 03:02:48 +01:00
ergo/Makefile

35 lines
774 B
Makefile
Raw Normal View History

2020-03-24 14:56:12 +01:00
.PHONY: all install build release capdefs test smoke
2017-06-24 21:41:11 +02:00
capdef_file = ./irc/caps/defs.go
2019-02-21 09:29:39 +01:00
all: install
2017-06-24 21:41:11 +02:00
install:
2020-02-10 02:51:23 +01:00
go install -v
build:
2020-02-10 02:51:23 +01:00
go build -v
release:
goreleaser --skip-publish --rm-dist
capdefs:
python3 ./gencapdefs.py > ${capdef_file}
test:
python3 ./gencapdefs.py | diff - ${capdef_file}
2018-04-23 00:47:10 +02:00
cd irc && go test . && go vet .
cd irc/caps && go test . && go vet .
2019-05-12 10:01:47 +02:00
cd irc/cloaks && go test . && go vet .
2019-01-01 22:45:37 +01:00
cd irc/connection_limits && go test . && go vet .
cd irc/history && go test . && go vet .
2018-04-23 00:47:10 +02:00
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 .
2018-04-23 00:47:10 +02:00
cd irc/utils && go test . && go vet .
2018-05-04 10:27:43 +02:00
./.check-gofmt.sh
2020-03-24 14:56:12 +01:00
smoke:
oragono run --conf ./oragono.yaml --smoke