Module: Dapp::Project::Command::Bp

Included in:
Dapp::Project
Defined in:
lib/dapp/project/command/bp.rb

Overview

Build

Instance Method Summary collapse

Instance Method Details

#bp(repo) ⇒ Object



8
9
10
11
12
13
# File 'lib/dapp/project/command/bp.rb', line 8

def bp(repo)
  bp_step(:build)
  bp_step(:push, repo)
  bp_step(:stages_cleanup_local, repo)
  bp_step(:cleanup)
end

#bp_step(step, *args) ⇒ Object



15
16
17
# File 'lib/dapp/project/command/bp.rb', line 15

def bp_step(step, *args)
  log_step_with_indent(step) { public_send(step, *args) }
end