github.com/network-quality/goresponsiveness@v0.0.0-20240129151524-343954285090/Makefile (about) 1 PKG := github.com/network-quality/goresponsiveness 2 GIT_VERSION := $(shell git describe --always --long) 3 LDFLAGS := -ldflags "-X $(PKG)/utilities.GitVersion=$(GIT_VERSION)" 4 5 all: build test 6 build: 7 go build $(LDFLAGS) networkQuality.go 8 test: 9 go test ./timeoutat/ ./traceable/ ./utilities/ ./lgc ./qualityattenuation ./rpm ./series 10 golines: 11 find . -name '*.go' -exec ~/go/bin/golines -w {} \; 12 clean: 13 go clean -testcache 14 rm -f *.o core