android_new: add clean command

This commit is contained in:
Mathieu Virbel 2016-11-16 01:53:50 +01:00
parent e9419c0df0
commit 0192884222

View file

@ -139,6 +139,13 @@ class TargetAndroidNew(TargetAndroid):
else:
self._p4a(' '.join(args) if args else '')
def cmd_clean(self, *args):
'''
Clean the build and distribution
'''
self._p4a("clean_builds")
self._p4a("clean_dists")
def get_target(buildozer):
buildozer.targetname = "android"