clean tests results

removed redundant pyc line
pull/22548/head
Brian Coca 8 years ago
parent 09c08e1939
commit a1a62103fa

@ -152,6 +152,7 @@ clean:
rm -rf lib/ansible.egg-info/ rm -rf lib/ansible.egg-info/
@echo "Cleaning up byte compiled python stuff" @echo "Cleaning up byte compiled python stuff"
find . -type f -regex ".*\.py[co]$$" -delete find . -type f -regex ".*\.py[co]$$" -delete
find . -type d -name "__pycache__" -delete
@echo "Cleaning up editor backup files" @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 -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete find . -type f \( -name "*.swp" \) -delete
@ -170,8 +171,9 @@ clean:
rm -rf docs/js rm -rf docs/js
@echo "Cleaning up authors file" @echo "Cleaning up authors file"
rm -f AUTHORS.TXT rm -f AUTHORS.TXT
find . -type f -name '*.pyc' -delete @echo "Cleaning up tests"
rm -f /test/units/.coverage* rm -f test/units/.coverage*
rm -f test/results/*/*
@echo "Cleaning up docsite" @echo "Cleaning up docsite"
$(MAKE) -C docs/docsite clean $(MAKE) -C docs/docsite clean
$(MAKE) -C docs/api clean $(MAKE) -C docs/api clean

Loading…
Cancel
Save