Class: BuildTool::ModuleActions::Install

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, fast = false) ⇒ Install

Returns a new instance of Install.



233
234
235
236
# File 'lib/build-tool/command_actions.rb', line 233

def initialize( command, mod, fast = false )
    super( command, 60, :install, mod )
    @fast = fast
end

Instance Method Details

#executeObject



238
239
240
241
242
# File 'lib/build-tool/command_actions.rb', line 238

def execute()
    @module.build_system_required.progressbar( "Install #{@fast ? 'fast' : ''}" ) do
        @module.build_system_required.install( @fast )
    end
end