summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-02-22 19:17:09 -0800
committerGitHub <[email protected]>2023-02-22 19:17:09 -0800
commite59ddfd3672750351f80fb35c804827b2f726642 (patch)
treeff8a9707caf844be368106ee8000ce7c6e0b57db /Makefile
parentad8b4dac1ad3500904747a090de2d99f2f774156 (diff)
parentbfa2e2b0fa93b6059fba0581b52d6d60a53b5a4a (diff)
Merge pull request #44 from network-quality/connect_to_secure_merged
A grab bag of changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2df1c5..4a3db5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
+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 networkQuality.go
+ go build $(LDFLAGS) networkQuality.go
test:
go test ./timeoutat/ ./traceable/ ./ms/ ./utilities/
golines: