aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 048987d33c41a8b4aa35c5c4a06d46c73249079f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.PHONY: all test

COMMIT := $(shell git rev-parse --short HEAD)

all:
	go build -ldflags "-X main.commit=${COMMIT}" -o telegabber

test:
	go test -v ./config ./ ./telegram ./xmpp ./xmpp/gateway ./persistence ./telegram/formatter ./badger

lint:
	$(GOPATH)/bin/golint ./...