From e1818e3f8c37f14869375efb8972d0fd267634c5 Mon Sep 17 00:00:00 2001 From: vinllen Date: Mon, 18 Mar 2019 19:18:29 +0800 Subject: [PATCH] add binary in the bin directory --- .gitignore | 3 ++- README.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f1146c2..16b099d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -bin pkg .gopath .idea @@ -9,6 +8,8 @@ logs *.data *.sw[ap] *.yml +*.pid +*.tar.gz tags result.db.* diff --git a/README.md b/README.md index 8b0c473..00e731c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ Add tag when releasing: "release-v{version}-{date}". for example: "release-v1.0. # Usage --- +Run `./bin/redis-shake.darwin64` or `redis-shake.linux64` which is built in OSX and Linux respectively.
+Or you can build redis-shake yourself according to the following steps: * git clone https://github.com/aliyun/redis-shake.git * cd redis-shake/src/vendor * GOPATH=\`pwd\`/../..; govendor sync #please note: must install govendor first and then pull all dependencies: `go get -u github.com/kardianos/govendor`