Class: Docman::Builders::GitRootChainBuilder

Inherits:
GitProviderBuilder show all
Defined in:
lib/docman/builders/git_root_chain_builder.rb

Instance Attribute Summary

Attributes inherited from Command

#type

Instance Method Summary collapse

Methods inherited from GitProviderBuilder

#build_with_provider, #changed_from_last_version?, #execute

Methods inherited from ProviderBuilder

#changed?, #execute

Methods inherited from Builder

#changed?, #config, create, #describe, #prefix, register_builder, #validate_command, #version

Methods inherited from Command

#add_action, #add_actions, #config, create, #describe, #execute, #initialize, #perform, #prefix, register_command, #replace_placeholder, #run_actions, #run_with_hooks

Methods included from Logging

#log, logger, #logger, #prefix, #properties_info, #with_logging

Constructor Details

This class inherits a constructor from Docman::Command

Instance Method Details

#prepare_build_dirObject



7
8
9
# File 'lib/docman/builders/git_root_chain_builder.rb', line 7

def prepare_build_dir
  GitUtil.get(@context['root_repo'], @context['full_build_path'], @context.version_type(type: 'root'), @context.version(type: 'root'), true, 1)
end