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