Commit 85bdb2be by Jason Bau

use git clean to remove cruft (.pyc etc) after checkout

parent eb4da5c5
...@@ -24,6 +24,14 @@ ...@@ -24,6 +24,14 @@
- install - install
- deploy - deploy
- name: git clean after checking out edx-platform
shell: cd {{edx_platform_code_dir}} && git clean -xdf
tags:
- lms
- cms
- install
- deploy
# Do Post Checkout Tasks. # Do Post Checkout Tasks.
- name: create platform code dir - name: create platform code dir
file: path={{edx_platform_code_dir}} state=directory owner=www-data group=www-data mode=755 file: path={{edx_platform_code_dir}} state=directory owner=www-data group=www-data mode=755
...@@ -31,6 +39,7 @@ ...@@ -31,6 +39,7 @@
- lms - lms
- cms - cms
- install - install
- deploy
- name: checkout theme - name: checkout theme
git: dest={{app_base_dir}}/themes/{{edxapp_theme_name}} repo={{edxapp_theme_source_repo}} version={{edxapp_theme_version}} git: dest={{app_base_dir}}/themes/{{edxapp_theme_name}} repo={{edxapp_theme_source_repo}} version={{edxapp_theme_version}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment