Class: BuildTool::ModuleActions::Clean

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, remove_build_directory) ⇒ Clean

Returns a new instance of Clean.



93
94
95
96
# File 'lib/build-tool/command_actions.rb', line 93

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

Instance Method Details

#executeObject



98
99
100
101
# File 'lib/build-tool/command_actions.rb', line 98

def execute()
    logger.info "Cleaning"
    @module.clean( @remove_build_directory )
end