Class: GitCompound::Command::Procedure::Check

Inherits:
GitCompound::Command::Procedure show all
Includes:
Element::Manifest
Defined in:
lib/git_compound/command/procedure/check.rb

Overview

Check command procedure class

Instance Method Summary collapse

Methods included from Element::Manifest

included, #initialize

Instance Method Details

#executeObject



14
15
16
17
18
19
20
21
# File 'lib/git_compound/command/procedure/check.rb', line 14

def execute
  Logger.info 'Checking dependencies ...'

  @manifest.process(
    Worker::CircularDependencyChecker.new,
    Worker::NameConstraintChecker.new,
    Worker::ConflictingDependencyChecker.new)
end

#execute!Object



9
10
11
12
# File 'lib/git_compound/command/procedure/check.rb', line 9

def execute!
  execute
  Logger.info 'OK'
end