Class: GitCompound::Command::Procedure::Update
- Inherits:
-
GitCompound::Command::Procedure
- Object
- GitCompound::Command::Procedure
- GitCompound::Command::Procedure::Update
- Includes:
- Element::Lock, Element::Manifest, Element::Subprocedure
- Defined in:
- lib/git_compound/command/procedure/update.rb
Overview
Update command procedure class
Instance Method Summary collapse
Methods included from Element::Subprocedure
included, #initialize, #subprocedure
Methods included from Element::Lock
Methods included from Element::Manifest
Instance Method Details
#execute ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/git_compound/command/procedure/update.rb', line 14 def execute raise GitCompoundError, "Lockfile `#{Lock::FILENAME}` does not exist ! " \ 'You should use `build` command.' unless locked? protect_local_modifications check_dependencies update execute_tasks lock_updated_manifest remove_dormant_components end |