summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--README.md2
2 files changed, 12 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
diff --git a/README.md b/README.md
index 4605b4e..d99f2ac 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,8 @@ $ go build networkQuality.go
That will create an executable in `${RSPVNSS_SOURCE_DIR}` named `networkQuality`.
+> As a bonus, there are now `make`able targets (`all`, `build`, `test`, `clean`) in case that's easier to remember!
+
### Run
From `${RSPVNSS_SOURCE_DIR}`, running the client is straightforward. Simply