Initial commit

This commit is contained in:
eleksir
2023-06-11 21:03:41 +03:00
committed by Sergei
commit 0f1177bd91
422 changed files with 226058 additions and 0 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
#!/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 "buny-jabber-bot" collection.go types.go globals.go lib.go event_parser.go \
buny.go main.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: