allow to use branch in python-for-android
This commit is contained in:
parent
8e96078ad1
commit
18590ddf0f
1 changed files with 5 additions and 0 deletions
|
@ -277,6 +277,11 @@ class TargetAndroid(Target):
|
|||
cmd('git clean -dxf', cwd=pa_dir)
|
||||
cmd('git pull origin master', cwd=pa_dir)
|
||||
|
||||
source = self.buildozer.config.get('app', 'android.branch')
|
||||
if source:
|
||||
cmd('git checkout --track -b %s origin/%s' % (source, source),
|
||||
cwd=pa_dir)
|
||||
|
||||
self._install_apache_ant()
|
||||
self._install_android_sdk()
|
||||
self._install_android_ndk()
|
||||
|
|
Loading…
Reference in a new issue