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.



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

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

Instance Method Details

#executeObject



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

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