Class: Moku::Pipeline::Exec

Inherits:
Moku::Pipeline show all
Defined in:
lib/moku/pipeline/exec.rb

Overview

Execute an arbitrary command

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Moku::Pipeline

for

Class Method Details

.handles?(command) ⇒ Boolean

Returns:

  • (Boolean)

15
16
17
# File 'lib/moku/pipeline/exec.rb', line 15

def self.handles?(command)
  command.action == :exec
end

Instance Method Details

#callObject


19
20
21
22
23
# File 'lib/moku/pipeline/exec.rb', line 19

def call
  step :retrieve_signature
  step :construct_release
  step :run_command
end