LB CONFIG API  LB 4.x
core.py File Reference

Go to the source code of this file.

Classes

class  lbconfig.core.ConfigureError
 private More...
 
class  lbconfig.core.Dependency
 private More...
 
class  lbconfig.core.Rule
 private More...
 

Namespaces

 lbconfig.core
 

Functions

def lbconfig.core.add_arg (args, kwargs)
 
def lbconfig.core.add_dependencies (dep_dict)
 private More...
 
def lbconfig.core.add_dependency (dependency)
 private More...
 
def lbconfig.core.add_error_message (message)
 
def lbconfig.core.add_plugin (module_name, build_dir, install_dir, deps)
 
def lbconfig.core.add_validation_message (message, type='WARN')
 
def lbconfig.core.add_warning_message (message)
 
def lbconfig.core.check_all_variables_declared ()
 Check that all uses of $(some-var) have some-var defined. More...
 
def lbconfig.core.check_lb_workspace_target (name)
 private More...
 
def lbconfig.core.check_lbconfig_package_called ()
 
def lbconfig.core.check_target ()
 private More...
 
def lbconfig.core.create_manifest (manifest, jar_name, classes_dir, classpath, deps)
 
def lbconfig.core.declare_parser_argument_variables (args)
 
def lbconfig.core.default_parser (subparsers)
 private More...
 
def lbconfig.core.deprecation_alert (msg)
 private More...
 
def lbconfig.core.dist_target ()
 private More...
 
def lbconfig.core.emit (line, makefile=None)
 Add a line to the makefile. More...
 
def lbconfig.core.emit_clean_dir (dirname)
 Remove a directory on clean. More...
 
def lbconfig.core.emit_dependencies ()
 private More...
 
def lbconfig.core.escape_for_bash (s)
 
def lbconfig.core.escape_for_bash_and_makefile (s)
 
def lbconfig.core.expect_lb_version (ver)
 private More...
 
def lbconfig.core.files_used (project_filename)
 private More...
 
def lbconfig.core.find_compiled_libraries ()
 private More...
 
def lbconfig.core.find_files (dirname, extension)
 private More...
 
def lbconfig.core.find_used_variables ()
 
def lbconfig.core.fix_install_destdir (destdir)
 private More...
 
def lbconfig.core.flatten (seq)
 private More...
 
def lbconfig.core.format_with_arg (arg)
 
def lbconfig.core.get_bloxweb_classpath ()
 private More...
 
def lbconfig.core.get_current_lb_version ()
 
def lbconfig.core.get_dependencies ()
 private More...
 
def lbconfig.core.get_dependency_path (name)
 private More...
 
def lbconfig.core.get_java_package_from_proto (proto_file)
 
def lbconfig.core.get_java_protobuf_build_dir (name)
 private More...
 
def lbconfig.core.get_parser (default, plugins=None)
 private More...
 
def lbconfig.core.get_ws_archive_names (ws_name)
 private More...
 
def lbconfig.core.install_target ()
 private More...
 
def lbconfig.core.is_makefile_valid ()
 
def lbconfig.core.lb_library_dependency (name)
 private More...
 
def lbconfig.core.lb_library_deps (project_file_name)
 private More...
 
def lbconfig.core.lb_library_outdir (name)
 private More...
 
def lbconfig.core.lb_library_project_file (name)
 private More...
 
def lbconfig.core.lb_library_summary_file (name)
 private More...
 
def lbconfig.core.lb_workspace_target (name)
 private More...
 
def lbconfig.core.lock_dependencies ()
 private More...
 
def lbconfig.core.logic_files_used (project_filename)
 private More...
 
def lbconfig.core.matches_version (ver)
 private More...
 
def lbconfig.core.print_validation_messages ()
 
def lbconfig.core.protobuf_pkg_prefix (package)
 private More...
 
def lbconfig.core.reset ()
 this is used for testing lb-config More...
 
def lbconfig.core.rule (output, input, commands=None, phony=False, description=None)
 
def lbconfig.core.run_tasks ()
 
def lbconfig.core.service_start_target (service_name)
 private More...
 
def lbconfig.core.service_started_file (service_name)
 private More...
 
def lbconfig.core.service_stop_target (service_name)
 private More...
 
def lbconfig.core.set_default_prefix (prefix)
 private More...
 
def lbconfig.core.setup (args)
 private More...
 
def lbconfig.core.splitall (path)
 private More...
 
def lbconfig.core.to_file (file_name)
 write the content of the IOString to a file More...
 
def lbconfig.core.touch (file_path)
 private More...
 
def lbconfig.core.unlock_dependencies ()
 private More...
 
def lbconfig.core.validate_makefile ()
 
def lbconfig.core.variable (name, value)
 
def lbconfig.core.write_rules (makefile=None)
 private More...
 
def lbconfig.core.write_variables ()
 private More...
 
def lbconfig.core.write_workspaces ()
 private More...
 

Variables

list lbconfig.core.g_args = []
 
dictionary lbconfig.core.g_compiledlibs = {}
 
 lbconfig.core.g_default_prefix = None
 
dictionary lbconfig.core.g_deps = {}
 
bool lbconfig.core.g_deps_locked = False
 
 lbconfig.core.g_lb_version = None
 
 lbconfig.core.g_makefile = None
 
dictionary lbconfig.core.g_messages = {}
 
list lbconfig.core.g_parsers = []
 
list lbconfig.core.g_plugins = []
 
dictionary lbconfig.core.g_projects = {}
 
dictionary lbconfig.core.g_rules = {}
 
list lbconfig.core.g_tasks = []
 
list lbconfig.core.g_variables = []
 
dictionary lbconfig.core.g_workspaces = {}