3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 23:49:25 +01:00
ergo/Makefile

28 lines
551 B
Makefile
Raw Normal View History

.PHONY: all build
2017-06-24 21:41:11 +02:00
capdef_file = ./irc/caps/defs.go
all: build
2017-06-24 21:41:11 +02:00
2018-01-07 03:21:44 +01:00
build:
goreleaser --snapshot --rm-dist
buildrelease:
goreleaser --skip-publish --rm-dist
capdefs:
python3 ./gencapdefs.py > ${capdef_file}
2018-01-07 04:20:05 +01:00
deps:
git submodule update --init
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 .
2018-04-23 00:47:10 +02:00
cd irc/isupport && go test . && go vet .
cd irc/modes && 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