MCPcopy Index your code
hub / github.com/kivy/python-for-android / clean_recipe_build

Method clean_recipe_build

pythonforandroid/toolchain.py:897–910  ·  view source on GitHub ↗

Deletes the build files of the given recipe. This is intended for debug purposes. You may experience strange behaviour or problems with some recipes if their build has made unexpected state changes. If this happens, run clean_builds, or attempt to clean other recipes

(self, args)

Source from the content-addressed store, hash-verified

895 rmdir(libs_dir)
896
897 def clean_recipe_build(self, args):
898 """Deletes the build files of the given recipe.
899
900 This is intended for debug purposes. You may experience
901 strange behaviour or problems with some recipes if their
902 build has made unexpected state changes. If this happens, run
903 clean_builds, or attempt to clean other recipes until things
904 work again.
905 """
906 recipe = Recipe.get_recipe(args.recipe, self.ctx)
907 info('Cleaning build for {} recipe.'.format(recipe.name))
908 recipe.clean_build()
909 if not args.no_clean_dists:
910 self.clean_dists(args)
911
912 def clean_download_cache(self, args):
913 """ Deletes a download cache for recipes passed as arguments. If no

Callers

nothing calls this directly

Calls 4

clean_distsMethod · 0.95
get_recipeMethod · 0.80
formatMethod · 0.80
clean_buildMethod · 0.45

Tested by

no test coverage detected