aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/vendor/github.com/go-redis/redis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/dma/vendor/github.com/go-redis/redis/Makefile')
-rw-r--r--src/dma/vendor/github.com/go-redis/redis/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dma/vendor/github.com/go-redis/redis/Makefile b/src/dma/vendor/github.com/go-redis/redis/Makefile
index 1fbdac91..fa3b4e00 100644
--- a/src/dma/vendor/github.com/go-redis/redis/Makefile
+++ b/src/dma/vendor/github.com/go-redis/redis/Makefile
@@ -3,6 +3,8 @@ all: testdeps
go test ./... -short -race
env GOOS=linux GOARCH=386 go test ./...
go vet
+ go get github.com/gordonklaus/ineffassign
+ ineffassign .
testdeps: testdata/redis/src/redis-server
@@ -13,7 +15,7 @@ bench: testdeps
testdata/redis:
mkdir -p $@
- wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
+ wget -qO- https://github.com/antirez/redis/archive/5.0.tar.gz | tar xvz --strip-components=1 -C $@
testdata/redis/src/redis-server: testdata/redis
sed -i.bak 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile