* Implement i-am-bot, +B, flag grabbing. * Move collections to internal packages. * Postpone nickserv login sequence to 376 and 422 events, as it should be after motd message * Postpone join channels to 376 and 422 events, as it should be after motd message
21 lines
319 B
Makefile
21 lines
319 B
Makefile
#!/usr/bin/env gmake -f
|
|
|
|
GOOPTS=CGO_ENABLED=0
|
|
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath
|
|
|
|
all: clean build
|
|
|
|
build:
|
|
${GOOPTS} go build ${BUILDOPTS} -o aleesa-irc-go .
|
|
|
|
clean:
|
|
go clean
|
|
|
|
upgrade:
|
|
rm -rf vendor
|
|
go get -d -u -t ./...
|
|
go mod tidy
|
|
go mod vendor
|
|
|
|
# vim: set ft=make noet ai ts=4 sw=4 sts=4:
|