Class: BuildTool::ModuleActions::Reconfigure
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod) ⇒ Reconfigure
constructor
A new instance of Reconfigure.
Methods inherited from Base
Constructor Details
#initialize(command, mod) ⇒ Reconfigure
Returns a new instance of Reconfigure.
202 203 204 |
# File 'lib/build-tool/command_actions.rb', line 202 def initialize( command, mod ) super( command, 40, :reconfigure, mod ) end |
Instance Method Details
#execute ⇒ Object
206 207 208 209 210 211 212 |
# File 'lib/build-tool/command_actions.rb', line 206 def execute() logger.info "Reconfiguring" if !$noop and !@module.vcs_required.checkedout? raise ConfigurationError, "Module is not checked out. Enable updating." end @module.build_system_required.reconfigure end |