mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 07:59:31 +01:00
27 lines
511 B
Makefile
27 lines
511 B
Makefile
.PHONY: all build
|
|
|
|
capdef_file = ./irc/caps/defs.go
|
|
|
|
all: build
|
|
|
|
build:
|
|
goreleaser --snapshot --rm-dist
|
|
|
|
buildrelease:
|
|
goreleaser --skip-publish --rm-dist
|
|
|
|
capdefs:
|
|
python3 ./gencapdefs.py > ${capdef_file}
|
|
|
|
deps:
|
|
git submodule update --init
|
|
|
|
test:
|
|
python3 ./gencapdefs.py | diff - ${capdef_file}
|
|
cd irc && go test . && go vet .
|
|
cd irc/caps && go test . && go vet .
|
|
cd irc/isupport && go test . && go vet .
|
|
cd irc/modes && go test . && go vet .
|
|
cd irc/utils && go test . && go vet .
|
|
./.check-gofmt.sh
|