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.



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

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

Instance Method Details

#executeObject



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

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