forked from mirror/redis
18 lines
365 B
Makefile
18 lines
365 B
Makefile
all: testdeps
|
|
go test ./... -v=1 -cpu=1,2,4
|
|
go test ./... -short -race
|
|
|
|
test: testdeps
|
|
go test ./... -v=1
|
|
|
|
testdeps: .test/redis/src/redis-server
|
|
|
|
.PHONY: all test testdeps
|
|
|
|
.test/redis:
|
|
mkdir -p $@
|
|
wget -qO- https://github.com/antirez/redis/archive/3.0.tar.gz | tar xvz --strip-components=1 -C $@
|
|
|
|
.test/redis/src/redis-server: .test/redis
|
|
cd $< && make all
|