summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2017-03-12 17:30:24 +0100
committerBrian Coca <brian.coca+git@gmail.com>2017-03-12 17:30:24 +0100
commita1a62103fa80afe5be4183d131d5fdd431325a76 (patch)
treeebdf5da5734421fb3424ab0e2e7d14f948ab5627 /Makefile
parentminor clean up of junos_command (#22545) (diff)
downloadansible-a1a62103fa80afe5be4183d131d5fdd431325a76.tar.xz
ansible-a1a62103fa80afe5be4183d131d5fdd431325a76.zip
clean tests results
removed redundant pyc line
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8b550f123..00649daf0d 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,7 @@ clean:
rm -rf lib/ansible.egg-info/
@echo "Cleaning up byte compiled python stuff"
find . -type f -regex ".*\.py[co]$$" -delete
+ find . -type d -name "__pycache__" -delete
@echo "Cleaning up editor backup files"
find . -type f -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete
@@ -170,8 +171,9 @@ clean:
rm -rf docs/js
@echo "Cleaning up authors file"
rm -f AUTHORS.TXT
- find . -type f -name '*.pyc' -delete
- rm -f /test/units/.coverage*
+ @echo "Cleaning up tests"
+ rm -f test/units/.coverage*
+ rm -f test/results/*/*
@echo "Cleaning up docsite"
$(MAKE) -C docs/docsite clean
$(MAKE) -C docs/api clean