From a1a62103fa80afe5be4183d131d5fdd431325a76 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sun, 12 Mar 2017 12:30:24 -0400 Subject: [PATCH] clean tests results removed redundant pyc line --- Makefile | 6 ++++-- 1 file 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