-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
29 lines (24 loc) · 844 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
lint:
black --check coredis tests
ruff coredis tests
mypy coredis
lint-fix:
black coredis tests
isort -r --profile=black tests coredis
ruff --fix coredis tests
DEBUG := False
NEXT_VERSION := 4.12.0
coverage-docs:
rm -rf docs/source/compatibility.rst
PYTHONPATH=${CURDIR} python scripts/code_gen.py --debug=${DEBUG} --next-version=${NEXT_VERSION} coverage-doc
templated-sources:
PYTHONPATH=${CURDIR} python scripts/code_gen.py token-enum
PYTHONPATH=${CURDIR} python scripts/code_gen.py command-constants
PYTHONPATH=${CURDIR} python scripts/code_gen.py cluster-key-extraction
PYTHONPATH=${CURDIR} python scripts/code_gen.py pipeline-stub
benchmark:
./scripts/benchmark.sh
benchmark-light:
./scripts/benchmark.sh --data-size=10 --data-size=1000
benchmark-self:
./scripts/benchmark.sh --data-size=10 --data-size=1000 -m coredis