redis/Makefile

18 lines
367 B
Makefile
Raw Normal View History

2015-01-24 15:12:48 +03:00
all: testdeps
2015-06-02 18:24:14 +03:00
go test ./... -v=1 -cpu=1,2,4
go test ./... -short -race
2015-01-24 15:12:48 +03:00
test: testdeps
2015-06-02 18:24:14 +03:00
go test ./... -v=1
2015-01-24 15:12:48 +03:00
testdeps: .test/redis/src/redis-server
.PHONY: all test testdeps
.test/redis:
mkdir -p $@
wget -qO- https://github.com/antirez/redis/archive/3.0.3.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