Class: BuildTool::ModuleActions::RemoveSourceDirectory

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, force = false) ⇒ RemoveSourceDirectory

Returns a new instance of RemoveSourceDirectory.



171
172
173
174
# File 'lib/build-tool/command_actions.rb', line 171

def initialize( command, mod, force = false )
    @force = force
    super( command, 10, :clean, mod )
end

Instance Method Details

#executeObject



176
177
178
179
# File 'lib/build-tool/command_actions.rb', line 176

def execute()
    logger.info "Removing source directory"
    @module.remove_source_directory
end