Class: BuildTool::ModuleActions::Make
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod, target = nil) ⇒ Make
constructor
A new instance of Make.
Methods inherited from Base
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
#execute ⇒ Object
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 |