mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03: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:
parent
b9c675e3a2
commit
92cc9a9213
8
Makefile
8
Makefile
@ -100,20 +100,22 @@ clean-languages:
|
||||
find . -type f -regex ".*\.mo$$" -delete
|
||||
|
||||
# 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/lib/site-packages
|
||||
rm -rf awx/job_status
|
||||
rm -rf awx/job_output
|
||||
rm -rf reports
|
||||
rm -f awx/awx_test.sqlite3*
|
||||
rm -rf requirements/vendor
|
||||
rm -rf tmp
|
||||
rm -rf $(I18N_FLAG_FILE)
|
||||
mkdir tmp
|
||||
|
||||
clean-api:
|
||||
rm -rf build $(NAME)-$(VERSION) *.egg-info
|
||||
find . -type f -regex ".*\.py[co]$$" -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
|
||||
guard-%:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user