Skip to content

Commit 9b865ac

Browse files
committed
Add target to remove generated files.
1 parent e04582f commit 9b865ac

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,12 @@ ${REQUIREMENTS} : requirements/%.txt : requirements.in */setup.py
6666
${RUN} -w /workspace -v `pwd`:/workspace --platform=linux/amd64 python:$* bash -c \
6767
"pip install pip-tools && pip-compile --resolver=backtracking -v --upgrade -o $@ $<"
6868

69+
# Remove any generated files.
70+
clean :
71+
rm -rf docs/_build
72+
rm -rf */build
73+
rm -rf */dist
74+
rm -rf */*.egg-info
75+
6976
# Targets that do not generate file-level artifacts.
70-
.PHONY : dists ${DISTRIBUTIONS} docs doctests image tests ${TESTS}
77+
.PHONY : clean dists ${DISTRIBUTIONS} docs doctests image tests ${TESTS}

0 commit comments

Comments
 (0)