mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
647 B
28 lines
647 B
6 years ago
|
all: testdeps
|
||
|
go test ./...
|
||
|
go test ./... -short -race
|
||
4 years ago
|
go test ./... -run=NONE -bench=. -benchmem
|
||
6 years ago
|
env GOOS=linux GOARCH=386 go test ./...
|
||
4 years ago
|
go vet
|
||
4 years ago
|
golangci-lint run
|
||
6 years ago
|
|
||
|
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 $@
|
||
4 years ago
|
wget -qO- http://download.redis.io/redis-stable.tar.gz | tar xvz --strip-components=1 -C $@
|
||
6 years ago
|
|
||
|
testdata/redis/src/redis-server: testdata/redis
|
||
|
cd $< && make all
|
||
4 years ago
|
|
||
|
tag:
|
||
|
git tag $(VERSION)
|
||
|
git tag extra/rediscmd/$(VERSION)
|
||
|
git tag extra/redisotel/$(VERSION)
|
||
|
git tag extra/rediscensus/$(VERSION)
|