Class: BuildTool::ModuleActions::Fetch
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod) ⇒ Fetch
constructor
A new instance of Fetch.
Methods inherited from Base
Constructor Details
#initialize(command, mod) ⇒ Fetch
Returns a new instance of Fetch.
175 176 177 178 179 180 |
# File 'lib/build-tool/command_actions.rb', line 175 def initialize( command, mod ) super( command, 20, :fetch, mod ) if !mod.vcs_required.fetching_supported? logger.info "Fetching/Rebase not supported by vcs #{mod.vcs.name}. Doing it in one step." end end |
Instance Method Details
#execute ⇒ Object
182 183 184 185 |
# File 'lib/build-tool/command_actions.rb', line 182 def execute() logger.info "Fetching remote changes." @module.fetch end |