3 go test ./... -short -race
4 env GOOS=linux GOARCH=386 go test ./...
6 go get github.com/gordonklaus/ineffassign
9 testdeps: testdata/redis/src/redis-server
12 go test ./... -test.run=NONE -test.bench=. -test.benchmem
14 .PHONY: all test testdeps bench
18 wget -qO- https://github.com/antirez/redis/archive/5.0.tar.gz | tar xvz --strip-components=1 -C $@
20 testdata/redis/src/redis-server: testdata/redis
21 sed -i.bak 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile