Class: Texas::Build::Task::ExecuteAfterScripts
- Defined in:
- lib/texas/build/task/execute_after_scripts.rb
Overview
This build task checks the ‘after’ script in the config’s script section and executes it, if present.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Script
#cmd_from_config, #execute, #execute_in
Methods inherited from Base
Methods included from OutputHelper
Constructor Details
This class inherits a constructor from Texas::Build::Task::Base
Instance Method Details
#cmd ⇒ Object
8 9 10 |
# File 'lib/texas/build/task/execute_after_scripts.rb', line 8 def cmd cmd_from_config :after end |
#run ⇒ Object
12 13 14 |
# File 'lib/texas/build/task/execute_after_scripts.rb', line 12 def run execute cmd if cmd end |