diff options
| author | Will Hawkins <[email protected]> | 2023-02-15 09:40:15 -0500 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2023-02-15 09:40:15 -0500 |
| commit | ad8b4dac1ad3500904747a090de2d99f2f774156 (patch) | |
| tree | 268bc21b72cfecb3ea0f9b2404dc11d8f397faca | |
| parent | 53581eda979b3efd84e755d22a8ddf418d0e03f6 (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.
| -rw-r--r-- | Makefile | 10 | ||||
| -rw-r--r-- | README.md | 2 |
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 @@ -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 |
