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.



218
219
220
221
# File 'lib/build-tool/command_actions.rb', line 218

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

Instance Method Details

#executeObject



223
224
225
226
227
# File 'lib/build-tool/command_actions.rb', line 223

def execute()
    @module.build_system_required.progressbar( "Make #{@target}" ) do
        @module.build_system_required.make( @target )
    end
end