Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,28 @@ clean_pyc:
@find . -type f -name "*.pyc" -delete
@find . -type d -name __pycache__ -delete

clean: clean_pyc
rm -rf doc/rtd_html .tox .coverage
clean_pytest:
rm -rf .cache htmlcov

clean_packaging:
rm -rf srpm cloud_init.egg-info/ \
cloud-init-*.tar.gz \
cloud-init-*.tar.gz.asc \
cloud-init.dsc \
cloud-init_*.build \
cloud-init_*.buildinfo \
cloud-init_*.changes \
cloud-init_*.deb \
cloud-init_*.dsc \
cloud-init_*.orig.tar.gz \
cloud-init_*.tar.xz \
cloud-init_*.upload

clean_release:
rm -rf new-upstream-changes.txt commit.msg

clean: clean_pyc clean_pytest clean_packaging clean_release
rm -rf doc/rtd_html .tox .coverage tags

yaml:
@$(PYTHON) $(CWD)/tools/validate-yaml.py $(YAML_FILES)
Expand Down Expand Up @@ -122,4 +142,5 @@ fix_spelling:

.PHONY: test flake8 clean rpm srpm deb deb-src yaml
.PHONY: check_version pip-test-requirements pip-requirements clean_pyc
.PHONY: unittest style-check doc fix_spelling check_spelling
.PHONY: unittest style-check doc fix_spelling
.PHONY: clean_pytest clean_packaging check_spelling clean_release