telegabber/Makefile

13 lines
264 B
Makefile
Raw Permalink Normal View History

.PHONY: all test
2023-01-18 04:42:10 +00:00
COMMIT := $(shell git rev-parse --short HEAD)
2019-10-22 16:36:54 +00:00
all:
2023-01-18 04:42:10 +00:00
go build -ldflags "-X main.commit=${COMMIT}" -o telegabber
test:
go test -v ./config ./ ./telegram ./xmpp ./xmpp/gateway ./persistence ./telegram/formatter
2019-10-29 01:23:57 +00:00
lint:
$(GOPATH)/bin/golint ./...