mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
Create separate Make target for cleaning API-related artifacts
My workflow for running tests is now: ``` $ docker exec -ti tools_awx_1 make clean-api awx-link test ```
This commit is contained in:
8
Makefile
8
Makefile
@@ -100,20 +100,22 @@ clean-languages:
|
|||||||
find . -type f -regex ".*\.mo$$" -delete
|
find . -type f -regex ".*\.mo$$" -delete
|
||||||
|
|
||||||
# Remove temporary build files, compiled Python files.
|
# Remove temporary build files, compiled Python files.
|
||||||
clean: clean-ui clean-dist
|
clean: clean-ui clean-api clean-dist
|
||||||
rm -rf awx/public
|
rm -rf awx/public
|
||||||
rm -rf awx/lib/site-packages
|
rm -rf awx/lib/site-packages
|
||||||
rm -rf awx/job_status
|
rm -rf awx/job_status
|
||||||
rm -rf awx/job_output
|
rm -rf awx/job_output
|
||||||
rm -rf reports
|
rm -rf reports
|
||||||
rm -f awx/awx_test.sqlite3*
|
|
||||||
rm -rf requirements/vendor
|
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
rm -rf $(I18N_FLAG_FILE)
|
rm -rf $(I18N_FLAG_FILE)
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
|
|
||||||
|
clean-api:
|
||||||
rm -rf build $(NAME)-$(VERSION) *.egg-info
|
rm -rf build $(NAME)-$(VERSION) *.egg-info
|
||||||
find . -type f -regex ".*\.py[co]$$" -delete
|
find . -type f -regex ".*\.py[co]$$" -delete
|
||||||
find . -type d -name "__pycache__" -delete
|
find . -type d -name "__pycache__" -delete
|
||||||
|
rm -f awx/awx_test.sqlite3*
|
||||||
|
rm -rf requirements/vendor
|
||||||
|
|
||||||
# convenience target to assert environment variables are defined
|
# convenience target to assert environment variables are defined
|
||||||
guard-%:
|
guard-%:
|
||||||
|
|||||||
Reference in New Issue
Block a user