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.
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
#execute ⇒ Object
222 223 224 225 226 |
# File 'lib/build-tool/command_actions.rb', line 222 def execute() @module.build_system_required.( "Make #{@target}" ) do @module.build_system_required.make( @target ) end end |