summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-02-15 09:40:15 -0500
committerWill Hawkins <[email protected]>2023-02-15 09:40:15 -0500
commitad8b4dac1ad3500904747a090de2d99f2f774156 (patch)
tree268bc21b72cfecb3ea0f9b2404dc11d8f397faca /Makefile
parent53581eda979b3efd84e755d22a8ddf418d0e03f6 (diff)
[Documentation] Add Makefile for those with bad memories
For those (like me) with bad memories, it is easier to remember `make` commands than `go build` commands. So, there is now a Makefile with helpful build and test targets.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f2df1c5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+all: build test
+build:
+ go build 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