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.
224 225 226 |
# File 'lib/build-tool/command_actions.rb', line 224 def initialize( command, mod ) super( command, 40, :reconfigure, mod ) end |
Instance Method Details
#execute ⇒ Object
228 229 230 231 232 233 234 |
# File 'lib/build-tool/command_actions.rb', line 228 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 |