Class: BuildTool::ModuleActions::Configure

Inherits:
Base
  • Object
show all
Defined in:
lib/build-tool/command_actions.rb

Instance Method Summary collapse

Methods inherited from Base

#do

Constructor Details

#initialize(command, mod) ⇒ Configure

Returns a new instance of Configure.



208
209
210
# File 'lib/build-tool/command_actions.rb', line 208

def initialize( command, mod )
    super( command, 40, :configure, mod )
end

Instance Method Details

#executeObject



212
213
214
215
216
217
218
# File 'lib/build-tool/command_actions.rb', line 212

def execute()
    logger.info "Configuring"
    if !$noop and !@module.vcs_required.checkedout?
        raise ConfigurationError, "Module is not checked out. Enable updating."
    end
    @module.configure
end