forked from confluentinc/confluent-kafka-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 641 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 641 Bytes
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
30
31
all:
@echo "Targets:"
@echo " clean"
@echo " docs"
clean:
pip cache purge
rm -rf dist
make -C docs clean
.PHONY: docs
docs:
$(MAKE) -C docs html
style-check:
@(tools/style-format.sh \
$$(git ls-tree -r --name-only HEAD | egrep '\.(c|h|py)$$') )
style-check-changed:
@(tools/style-format.sh \
$$( (git diff --name-only ; git diff --name-only --staged) | egrep '\.(c|h|py)$$'))
style-fix:
@(tools/style-format.sh --fix \
$$(git ls-tree -r --name-only HEAD | egrep '\.(c|h|py)$$'))
style-fix-changed:
@(tools/style-format.sh --fix \
$$( (git diff --name-only ; git diff --name-only --staged) | egrep '\.(c|h|py)$$'))