mirror of
https://github.com/frappe/bench.git
synced 2025-01-22 22:58:31 +00:00
[fix] remove pyc files on git pull
This commit is contained in:
parent
9f18c0069f
commit
9bdb3fc530
@ -93,6 +93,10 @@ def pull_all_apps(bench='.'):
|
||||
logger.info('pulling {0}'.format(app))
|
||||
exec_cmd("git pull {rebase} upstream {branch}".format(rebase=rebase, branch=get_current_branch(app, bench=bench)), cwd=app_dir)
|
||||
|
||||
# remove pyc files
|
||||
exec_cmd('find . -name "*.pyc" -delete', cwd=app_dir)
|
||||
|
||||
|
||||
def is_version_upgrade(bench='.', branch=None):
|
||||
fetch_upstream('frappe', bench=bench)
|
||||
upstream_version = get_upstream_version('frappe', bench=bench, branch=branch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user