aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 48c5d7efdcb23e030774f56f5066c8d32e8d97a0 (plain) (tree)
1
2
3
4
5
6
7
8
9

                

                                             
    
                                                                  

     
                                                                                                  


                                  
.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

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