summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4a3db5ccdd71dca301ceed4ebaa7e4d8a0c0b405 (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/
golines:
	find . -name '*.go' -exec ~/go/bin/golines -w {} \;
clean:
	go clean -testcache
	rm -f *.o core