Class: BuildTool::ModuleActions::Make

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, target = nil) ⇒ Make

Returns a new instance of Make.



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

def initialize( command, mod, target = nil )
    super( command, 50, :compile, mod )
    @target = target
end

Instance Method Details

#executeObject



245
246
247
248
249
# File 'lib/build-tool/command_actions.rb', line 245

def execute()
    pb = Progressbar.new( "Make #{@target}" ) do
        @module.build_system_required.make( @target )
    end
end