logger = logging.getLogger('devtool')
-def plugin_init(pluginlist):
- """Plugin initialization"""
- pass
-
def _get_recipes(workspace, config):
"""Get list of target recipes from the workspace."""
result = []
logger = logging.getLogger('devtool')
-def plugin_init(pluginlist):
- """Plugin initialization"""
- pass
-
-
def deploy(args, config, basepath, workspace):
"""Entry point for the devtool 'deploy' subcommand"""
import re
logger = logging.getLogger('devtool')
-def plugin_init(pluginlist):
- """Plugin initialization"""
- pass
-
-
def add(args, config, basepath, workspace):
"""Entry point for the devtool 'add' subcommand"""
import bb
tinfoil = None
-def plugin_init(pluginlist):
- # Don't need to do anything here right now, but plugins must have this function defined
- pass
-
def tinfoil_init(instance):
global tinfoil
tinfoil = instance
self.genfunction(lines_after, 'do_install', ['# Specify install commands here'])
-def plugin_init(pluginlist):
- pass
-
def register_recipe_handlers(handlers):
# These are in a specific order so that the right one is detected first
handlers.append(CmakeRecipeHandler())
return any(has_non_literals(v) for v in value)
-def plugin_init(pluginlist):
- pass
-
-
def register_recipe_handlers(handlers):
# We need to make sure this is ahead of the makefile fallback handler
handlers.insert(0, PythonRecipeHandler())
plugin = load_plugin(name)
if hasattr(plugin, 'plugin_init'):
plugin.plugin_init(plugins)
- plugins.append(plugin)
+ plugins.append(plugin)
def git_convert_standalone_clone(repodir):
"""If specified directory is a git repository, ensure it's a standalone clone"""