Skip to content

Commit bc2f85e

Browse files
author
Fabien Coelho
committed
add convenient dev/clean.dev targets
1 parent c6618a0 commit bc2f85e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@ F.pdf = $(F.md:%.md=%.pdf)
1010

1111
# cleanup and environment
1212

13-
.PHONY: clean clean-venv
13+
.PHONY: clean
1414
clean:
1515
$(RM) -r __pycache__ *.egg-info dist build .mypy_cache .pytest_cache htmlcov .ruff_cache
1616
$(RM) .coverage $(F.pdf)
1717
$(MAKE) -C docs clean
1818

19+
.PHONY: clean.venv
1920
clean.venv: clean
2021
$(RM) -r venv
2122

23+
.PHONY: clean.dev
24+
clean.dev: clean.venv
25+
2226
# venv for local testing
2327
PYTHON = python
2428
PIP = venv/bin/pip
@@ -28,6 +32,9 @@ venv:
2832
$(PIP) install --upgrade pip
2933
$(PIP) install -e .[doc,dev,pub,tests]
3034

35+
.PHONY: dev
36+
dev: venv
37+
3138
#
3239
# Tests
3340
#

0 commit comments

Comments
 (0)