2019-02-21 09:29:39 +01:00
|
|
|
.PHONY: all install release capdefs deps test
|
2017-06-24 21:41:11 +02:00
|
|
|
|
2018-06-26 00:08:15 +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
|
|
|
|
2019-02-21 09:29:39 +01:00
|
|
|
install: deps
|
|
|
|
./install.sh
|
2017-07-26 00:04:23 +02:00
|
|
|
|
2019-02-21 09:29:39 +01:00
|
|
|
release:
|
2018-04-11 02:12:28 +02:00
|
|
|
goreleaser --skip-publish --rm-dist
|
|
|
|
|
2018-06-26 00:08:15 +02:00
|
|
|
capdefs:
|
|
|
|
python3 ./gencapdefs.py > ${capdef_file}
|
|
|
|
|
2018-01-07 04:20:05 +01:00
|
|
|
deps:
|
|
|
|
git submodule update --init
|
|
|
|
|
2017-07-26 00:04:23 +02:00
|
|
|
test:
|
2018-06-26 00:08:15 +02:00
|
|
|
python3 ./gencapdefs.py | diff - ${capdef_file}
|
2018-04-23 00:47:10 +02:00
|
|
|
cd irc && go test . && go vet .
|
2018-06-26 00:08:15 +02:00
|
|
|
cd irc/caps && go test . && go vet .
|
2019-01-01 22:45:37 +01:00
|
|
|
cd irc/connection_limits && go test . && go vet .
|
2018-11-26 11:23:27 +01:00
|
|
|
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 .
|
2018-08-06 04:51:39 +02:00
|
|
|
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
|