[makefile] remove pytest cache file on clean

pull/2/head
Daniel Van Der Maden 5 years ago
parent eeae66896b
commit 23c4b72812
  1. 5
      Makefile

@ -2,17 +2,18 @@ CURRENT_SIGN_SETTING := $(shell git config commit.gpgSign)
.PHONY: clean-pyc clean-build .PHONY: clean-pyc clean-build
clean: clean-build clean-pyc clean: clean-build clean-py
clean-build: clean-build:
rm -fr build/ rm -fr build/
rm -fr dist/ rm -fr dist/
rm -fr *.egg-info rm -fr *.egg-info
clean-pyc: clean-py:
find . -name '*.pyc' -exec rm -f {} + find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} + find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} + find . -name '*~' -exec rm -f {} +
find . -name '.pytest_cache' -exec rm -rf {} +
test: test:
py.test tests py.test tests

Loading…
Cancel
Save