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.



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

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

Instance Method Details

#executeObject



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

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