Class: GitCompound::Command::Procedure::Build

Inherits:
GitCompound::Command::Procedure show all
Includes:
Element::Lock, Element::Option, Element::Subprocedure
Defined in:
lib/git_compound/command/procedure/build.rb

Overview

Build command class

Instance Method Summary collapse

Methods included from Element::Subprocedure

included, #initialize, #subprocedure

Methods included from Element::Option

included, #initialize

Methods included from Element::Lock

#initialize, #locked?

Instance Method Details

#executeObject



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

def execute
  if locked?
    subprocedure(:build_lock)
  else
    subprocedure(:build_manifest)
  end
end