summaryrefslogtreecommitdiff
path: root/Makefile
blob: e573dc311add978961e5f9f904056c84e45df79e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PKG          := github.com/network-quality/goresponsiveness
GIT_VERSION  := $(shell git describe --always --long)
LDFLAGS      := -ldflags "-X $(PKG)/utilities.GitVersion=$(GIT_VERSION)"

all: build test
build:
	go build $(LDFLAGS) networkQuality.go
test:
	go test ./timeoutat/ ./traceable/ ./ms/ ./utilities/ ./lgc ./qualityattenuation ./rpm
golines:
	find . -name '*.go' -exec ~/go/bin/golines -w {} \;
clean:
	go clean -testcache
	rm -f *.o core