Skip to content

Commit 23c6dcc

Browse files
committed
Makefile: use PHONY and multiple names for targets
1 parent c6a7ddd commit 23c6dcc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
all: test precommit pack
1+
.PHONY: tests build readchar
22

3-
test:
3+
4+
# default target:
5+
all: tests pre-commit build
6+
7+
test tests:
48
@pytest
59

6-
precommit:
10+
pre-commit precommit:
711
@pre-commit run -a
812

9-
pack:
13+
build pack readchar:
1014
@python setup.py sdist bdist_wheel

0 commit comments

Comments
 (0)