镜像自地址
https://github.com/astaxie/beego.git
已同步 2025-09-15 22:02:10 +00:00
only add golang.org vendor
这个提交包含在:
20
vendor/github.com/go-redis/redis/Makefile
自动生成的
vendored
20
vendor/github.com/go-redis/redis/Makefile
自动生成的
vendored
@@ -1,20 +0,0 @@
|
||||
all: testdeps
|
||||
go test ./...
|
||||
go test ./... -short -race
|
||||
env GOOS=linux GOARCH=386 go test ./...
|
||||
go vet
|
||||
|
||||
testdeps: testdata/redis/src/redis-server
|
||||
|
||||
bench: testdeps
|
||||
go test ./... -test.run=NONE -test.bench=. -test.benchmem
|
||||
|
||||
.PHONY: all test testdeps bench
|
||||
|
||||
testdata/redis:
|
||||
mkdir -p $@
|
||||
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
|
||||
|
||||
testdata/redis/src/redis-server: testdata/redis
|
||||
sed -i.bak 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile
|
||||
cd $< && make all
|
在新工单中引用
屏蔽一个用户