redis/Makefile

15 lines
360 B
Makefile
Raw Normal View History

2015-01-24 15:12:48 +03:00
all: testdeps
2015-09-28 11:13:32 +03:00
go test ./... -test.v -test.cpu=1,2,4
2015-11-21 14:24:42 +03:00
go test ./... -test.v -test.short -test.race
2015-01-24 15:12:48 +03:00
testdeps: .test/redis/src/redis-server
.PHONY: all test testdeps
.test/redis:
mkdir -p $@
2015-09-28 11:13:32 +03:00
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
2015-01-24 15:12:48 +03:00
.test/redis/src/redis-server: .test/redis
cd $< && make all