From 68a1a615b946e3b13ac201317c85326b083562e9 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 18 Nov 2016 04:25:16 +0000 Subject: [PATCH] README: add info on running the tests Signed-off-by: Vincent Batts --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 832590f..d0c0afc 100644 --- a/README.md +++ b/README.md @@ -183,9 +183,23 @@ go get github.com/vbatts/go-mtree/cmd/gomtree or ```bash -git clone git://github.com/vbatts/go-mtree.git -cd ./go-mtree/cmd/gomtree -go build . +git clone git://github.com/vbatts/go-mtree.git $GOPATH/src/github.com/vbatts/go-mtree +cd $GOPATH/src/github.com/vbatts/go-mtree +go build ./cmd/gomtree +``` + +## Testing + +On Linux: +```bash +cd $GOPATH/src/github.com/vbatts/go-mtree +make +``` + +On FreeBSD: +```bash +cd $GOPATH/src/github.com/vbatts/go-mtree +gmake ```