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.



255
256
257
258
# File 'lib/build-tool/command_actions.rb', line 255

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

Instance Method Details

#executeObject



260
261
262
263
264
# File 'lib/build-tool/command_actions.rb', line 260

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