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.

Makefile 638B

1234567891011121314151617181920212223242526
  1. test: testdeps
  2. go test ./...
  3. go test ./... -short -race
  4. go test ./... -run=NONE -bench=. -benchmem
  5. env GOOS=linux GOARCH=386 go test ./...
  6. go vet
  7. testdeps: testdata/redis/src/redis-server
  8. bench: testdeps
  9. go test ./... -test.run=NONE -test.bench=. -test.benchmem
  10. .PHONY: all test testdeps bench
  11. testdata/redis:
  12. mkdir -p $@
  13. wget -qO- https://download.redis.io/releases/redis-6.2.1.tar.gz | tar xvz --strip-components=1 -C $@
  14. testdata/redis/src/redis-server: testdata/redis
  15. cd $< && make all
  16. tag:
  17. git tag $(VERSION)
  18. git tag extra/rediscmd/$(VERSION)
  19. git tag extra/redisotel/$(VERSION)
  20. git tag extra/rediscensus/$(VERSION)