1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-19 07:22:17 +03:00
go-redis/Makefile
Vladimir Mihailenco 36487d8462 Stabilize build.
2015-12-22 12:08:35 +02:00

15 lines
360 B
Makefile

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